]> Pileus Git - ~andy/gtk/blobdiff - gdk/win32/gdkimage-win32.c
updated exports
[~andy/gtk] / gdk / win32 / gdkimage-win32.c
index 4c87a5742029426b3d72286afd603c65a580f25e..86f90ebf7840fe0f955ec63d66aea51ebde8b1f0 100644 (file)
@@ -182,6 +182,11 @@ gdk_image_new_bitmap (GdkVisual *visual,
 
   image->bits_per_pixel = 1;
   image->bpp = 1;
+
+  /* free data right now, in contrast to the X11 version we have made
+   * our own copy. Use free, it was malloc()ed.
+   */
+  free (data);
   return(image);
 } /* gdk_image_new_bitmap() */