Jeff wrote:
if (psssa->pssap->psva)
HeapFree(GetProcessHeap(), 0, psssa->pssap->psva);
if (psssa->pssap->piAdvance)
HeapFree(GetProcessHeap(), 0,
psssa->pssap->piAdvance);
if (psssa->pssap->pGoffset)
HeapFree(GetProcessHeap(), 0,
psssa->pssap->pGoffset);
if (psssa->pssap->pwOutGlyphs)
HeapFree(GetProcessHeap(), 0,
psssa->pssap->pwOutGlyphs);
A NULL-Pointer is handled by HeapFree() and we cleaned up similar unneeded "if " - tests recently.
Thanks.
Ta, I will redo the patch. =-O
Jeff
Detlef Riekenberg wrote:
Jeff wrote:
if (psssa->pssap->psva)
HeapFree(GetProcessHeap(), 0, psssa->pssap->psva);
if (psssa->pssap->piAdvance)
HeapFree(GetProcessHeap(), 0,
psssa->pssap->piAdvance);
if (psssa->pssap->pGoffset)
HeapFree(GetProcessHeap(), 0,
psssa->pssap->pGoffset);
if (psssa->pssap->pwOutGlyphs)
HeapFree(GetProcessHeap(), 0,
psssa->pssap->pwOutGlyphs);
A NULL-Pointer is handled by HeapFree() and we cleaned up similar unneeded "if " - tests recently.
Thanks.