2008-02-26 Mike Kestner <mkestner@novell.com>

* generator/ByRefGen.cs: fix mismatched alloc/free.

svn path=/trunk/gtk-sharp/; revision=96661
This commit is contained in:
Mike Kestner 2008-02-26 16:29:14 +00:00
parent 515bcc131a
commit 80d977610f
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2008-02-26 Mike Kestner <mkestner@novell.com>
* generator/ByRefGen.cs: fix mismatched alloc/free.
2008-02-22 Mike Kestner <mkestner@novell.com> 2008-02-22 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom: add destroy notification and pin byte[] to * gdk/Pixbuf.custom: add destroy notification and pin byte[] to

View file

@ -56,7 +56,7 @@ namespace GtkSharp.Generation {
public string ReleaseNative (string var_name) public string ReleaseNative (string var_name)
{ {
return "GLib.Marshaller.Free (" + var_name + ")"; return "Marshal.FreeHGlobal (" + var_name + ")";
} }
} }
} }