PATCH : Add desallocation of the viewport private data
Christian Costa
titan.costa at wanadoo.fr
Wed Sep 25 17:12:36 CDT 2002
Changelog :
dlls/ddraw/d3dviewport.c
Add desallocation of the viewport private data
Christian Costa titan.costa at wanadoo.fr
-------------- next part --------------
Index: d3dviewport.c
===================================================================
RCS file: /home/wine/wine/dlls/ddraw/d3dviewport.c,v
retrieving revision 1.7
diff -u -r1.7 d3dviewport.c
--- d3dviewport.c 31 May 2002 23:25:45 -0000 1.7
+++ d3dviewport.c 25 Sep 2002 22:03:08 -0000
@@ -131,6 +131,7 @@
FIXME("(%p)->() decrementing from %lu.\n", This, This->ref );
if (!--(This->ref)) {
+ HeapFree(GetProcessHeap(),0,This->private);
HeapFree(GetProcessHeap(),0,This);
return 0;
}
More information about the wine-patches
mailing list