winex11.drv: Cast-qual warning fix + remove superfluous
paul.vriens.wine at gmail.com
Sat Nov 25 08:17:11 CST 2006
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.
the failing allocation was for lpNewFormat->Name. The freeing was for
lpNewFormat on line 516 (original).
More information about the wine-devel