Change a malloc() to a HeapAlloc()

Reece Dunn msclrhd at googlemail.com
Wed Jun 9 13:25:16 CDT 2010


On 9 June 2010 19:08, Peter Davies <ultratwo at gmail.com> wrote:
>> We use real names here.  This patch probably will not be committed until it
>> is resubmitted.
> Ops! I've mis-configured my mail client
>
>> The patch is also wrong.
> Why? What difference does malloc() over HeapAlloc() make? (this is arguably a
> case for not sending the patch in the first place)
>
> There is nothing that bugs me more than not being told why I'm wrong.

Where does the allocated variable get freed? Has that been changed
from free to HeapFree?

Does it get realloced?

- Reece



More information about the wine-devel mailing list