From 645815d478229d4ad4a8e732a79aff84557e8e1d Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Sun, 22 Apr 2012 11:47:28 -0500 Subject: [PATCH] Fix Pixdata buffer leak. Patch provided by Antonio on gtk-sharp-list. --- gdk/Pixdata.custom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/Pixdata.custom b/gdk/Pixdata.custom index f87db1268..7aa0d1c70 100644 --- a/gdk/Pixdata.custom +++ b/gdk/Pixdata.custom @@ -25,6 +25,6 @@ byte [] data = new byte [len]; Marshal.Copy (raw_ret, data, 0, (int)len); - + GLib.Marshaller.Free (raw_ret); return data; }