Use HeapFree to free heaps, incorrectly used std free

Convert last malloc/free to HeapAlloc/HeapFree
This commit is contained in:
Toni Spets 2010-11-16 17:32:31 +02:00
parent fdf8395dd1
commit afdc334935
4 changed files with 5 additions and 6 deletions

View file

@ -64,7 +64,7 @@ ULONG __stdcall ddraw_palette_Release(IDirectDrawPaletteImpl *This)
if(This->Ref == 0)
{
free(This);
HeapFree(GetProcessHeap(), 0, This);
return 0;
}