Update of /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-DIBitmap
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32039/Win32-GUI-DIBitmap

Modified Files:
        Changes DIBitmap.xs 
Log Message:
Bug Fixes

Index: DIBitmap.xs
===================================================================
RCS file: /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-DIBitmap/DIBitmap.xs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** DIBitmap.xs 11 Jun 2006 16:34:32 -0000      1.2
--- DIBitmap.xs 3 Aug 2006 22:24:37 -0000       1.3
***************
*** 1912,1915 ****
--- 1912,1917 ----
        // Free tempory image
        if (ldib != dib) FreeImage_Unload(ldib);
+       // Free memory allocated by CreateDIBSection
+       DeleteObject(hbm);
      }
    }

Index: Changes
===================================================================
RCS file: /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-DIBitmap/Changes,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Changes     11 Jun 2006 16:34:32 -0000      1.2
--- Changes     3 Aug 2006 22:24:37 -0000       1.3
***************
*** 1,4 ****
--- 1,7 ----
  Revision history for Perl extension FreeImage.
  
+ 0.17 TBD [Robert May]
+     - Fix memory leak in AlphaCopyToDC
+ 
  0.16  25/05/2006 [Robert May]
      - merge into Win32::GUI core distribution


Reply via email to