dlls/d3dx9_36/shader.c: replace malloc with HeapAlloc

Henri Verbeet hverbeet at gmail.com
Wed Apr 21 10:25:27 CDT 2010


On 21 April 2010 17:19, Joris Huizer <joris_huizer at yahoo.com> wrote:
> -    path = malloc(strlen(filename) + 1);
> +    path = HeapAlloc(GetProcessHeap(), 0, strlen(filename) + 1);
No, malloc() is correct, wpp frees it again with free().



More information about the wine-devel mailing list