I was submitting a pull request... You anticipated me. ;)
Thank you for the fix.
I also think there is the opposite problem in Pixdata.Serialize, which
causes a memory leak: the pointer returned by gdk_pixdata_serialize
*should* be freed.
I have attached the diff.
Antonio
diff --git a/gdk/Pixdata.custom b/gdk/Pixdata.custom
index f87db12..2c57986 100644
--- a/gdk/Pixdata.custom
+++ b/gdk/Pixdata.custom
@@ -25,6 +25,7 @@
byte [] data = new byte [len];
Marshal.Copy (raw_ret, data, 0, (int)len);
+ GLib.Marshaller.Free(raw_ret);
return data;
}
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list