Fix Pixdata buffer leak.
Patch provided by Antonio on gtk-sharp-list.
This commit is contained in:
parent
0e0d0ec94d
commit
645815d478
1 changed files with 1 additions and 1 deletions
|
@ -25,6 +25,6 @@
|
|||
|
||||
byte [] data = new byte [len];
|
||||
Marshal.Copy (raw_ret, data, 0, (int)len);
|
||||
|
||||
GLib.Marshaller.Free (raw_ret);
|
||||
return data;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue