Use HeapFree to free heaps, incorrectly used std free
Convert last malloc/free to HeapAlloc/HeapFree
This commit is contained in:
parent
fdf8395dd1
commit
afdc334935
4 changed files with 5 additions and 6 deletions
|
@ -64,7 +64,7 @@ ULONG __stdcall ddraw_palette_Release(IDirectDrawPaletteImpl *This)
|
|||
|
||||
if(This->Ref == 0)
|
||||
{
|
||||
free(This);
|
||||
HeapFree(GetProcessHeap(), 0, This);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue