Fix Pixdata buffer leak.

Patch provided by Antonio on gtk-sharp-list.
This commit is contained in:
Mike Kestner 2012-04-22 11:47:28 -05:00
parent 0e0d0ec94d
commit 645815d478

View file

@ -25,6 +25,6 @@
byte [] data = new byte [len]; byte [] data = new byte [len];
Marshal.Copy (raw_ret, data, 0, (int)len); Marshal.Copy (raw_ret, data, 0, (int)len);
GLib.Marshaller.Free (raw_ret);
return data; return data;
} }