From 2d08a9d98d19a0581eeae687bb0322dc98806d40 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Sun, 28 May 2006 19:51:13 +0000 Subject: replace nr_new() with g_new(), and try to converge on using the glib allocator a little more instead of the others (aside from libgc) (bzr r1044) --- src/splivarot.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/splivarot.cpp') diff --git a/src/splivarot.cpp b/src/splivarot.cpp index 057ebac5a..ed7e34147 100644 --- a/src/splivarot.cpp +++ b/src/splivarot.cpp @@ -18,6 +18,7 @@ #endif #include +#include #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); } -- cgit v1.2.3