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/path-chemistry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/path-chemistry.cpp') diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp index c11754ece..ba181476f 100644 --- a/src/path-chemistry.cpp +++ b/src/path-chemistry.cpp @@ -19,6 +19,7 @@ #include "xml/repr.h" #include "svg/svg.h" #include "display/curve.h" +#include #include #include "sp-path.h" #include "sp-text.h" @@ -98,7 +99,7 @@ sp_selected_path_combine(void) NArtBpath *abp = nr_artpath_affine(SP_CURVE_BPATH(c), SP_ITEM(path)->transform); sp_curve_unref(c); gchar *str = sp_svg_write_path(abp); - nr_free(abp); + g_free(abp); dstring = g_string_append(dstring, str); g_free(str); -- cgit v1.2.3