Permalink
Browse files

Fix Pixdata buffer leak.

Patch provided by Antonio on gtk-sharp-list.
  • Loading branch information...
1 parent 37cbdaf commit d6ad5db84c659d54770874e2f7d7eeca466ddf4b @mkestner mkestner committed Apr 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gdk/Pixdata.custom
View
@@ -25,6 +25,6 @@
byte [] data = new byte [len];
Marshal.Copy (raw_ret, data, 0, (int)len);
-
+ GLib.Marshaller.Free (raw_ret);
return data;
}

0 comments on commit d6ad5db

Please sign in to comment.