Code

replace nr_new() with g_new(), and try to converge on using the glib allocator a...
[inkscape.git] / src / splivarot.cpp
index 057ebac5a03f8de1deb618cd3aa180c720702770..ed7e341478ecf28af15eccecb4e46043ae75b98b 100644 (file)
@@ -18,6 +18,7 @@
 #endif
 
 #include <vector>
+#include <glib/gmem.h>
 #include "xml/repr.h"
 #include "svg/svg.h"
 #include "sp-path.h"
@@ -1653,7 +1654,7 @@ Path_for_item(SPItem *item, bool doTransformation, bool transformFull)
     }
 
     if ( doTransformation ) {
-        if ( bpath ) nr_free(bpath);
+        if ( bpath ) g_free(bpath);
     } else {
         sp_curve_unref(curve);
     }