PATCH : Add desallocation of the viewport private data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changelog :
  dlls/ddraw/d3dviewport.c
  Add desallocation of the viewport private data

Christian Costa   titan.costa@wanadoo.fr

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;
   }

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux