On Sat, 2006-11-25 at 14:01 +0000, Andrew Talbot wrote:
Paul Vriens wrote:
Just out of curiosity. Why is the HeapFree superfluous? It is allocated a few lines above and not free-ed in this fail condition.
Cheers,
Paul.
Hi Paul,
The fail condition is that no memory was available, therefore, what is there to free?
-- Andy.
Hi Andy,
the failing allocation was for lpNewFormat->Name. The freeing was for lpNewFormat on line 516 (original).
Cheers,
Paul.