[user32] Allocate buffer on heap (Bug 17076)

Paul Vriens paul.vriens.wine at gmail.com
Fri Jan 23 06:49:10 CST 2009


Jeff Latimer wrote:
> Paul Vriens wrote:
>>
>> Some called functions assume that buffer is always on heap. That isn't 
>> the case
>> anymore.
> If you do
> 
> +    local_buffer = HeapAlloc(GetProcessHeap(), 0, buffer_size);
> 
> shouldn't there be a HeapFree() added to match?
> 
> Jeff
> 
> 
> 
> 
> 
> 
Your totally right. Ignore this patch.

-- 
Cheers,

Paul.



More information about the wine-devel mailing list