Blob Blame History Raw
--- a/gnome/CanvasPathDef.custom	2018-06-02 20:11:18.813457515 +0000
+++ b/gnome/CanvasPathDef.custom	2018-06-02 20:11:42.937874368 +0000
@@ -21,9 +21,7 @@
 
 		public static CanvasPathDef NewFromBpath (Art.Bpath bpath)
 		{
-                        IntPtr native_bpath = GLib.Marshaller.StructureToPtrAlloc (bpath);
-                        CanvasPathDef result = new CanvasPathDef (gnome_canvas_path_def_new_from_bpath (native_bpath));
-			GLib.Marshaller.Free (native_bpath);
+			CanvasPathDef result = new CanvasPathDef (gnome_canvas_path_def_new_from_bpath (ref bpath));
 			return result;
 		}