Skip to content

Commit

Permalink
Fix Pixdata buffer leak.
Browse files Browse the repository at this point in the history
Patch provided by Antonio on gtk-sharp-list.
  • Loading branch information
mkestner committed Apr 22, 2012
1 parent 37cbdaf commit d6ad5db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdk/Pixdata.custom
Expand Up @@ -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;
} }

0 comments on commit d6ad5db

Please sign in to comment.