diff options
| author | MenTaLguY <mental@rydia.net> | 2006-05-28 19:51:13 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2006-05-28 19:51:13 +0000 |
| commit | 2d08a9d98d19a0581eeae687bb0322dc98806d40 (patch) | |
| tree | 3adec19e80f170b623e41454aae370cb7c75dade /src/splivarot.cpp | |
| parent | okay, that looked better in the icon preview than it did in practice; putting... (diff) | |
| download | inkscape-2d08a9d98d19a0581eeae687bb0322dc98806d40.tar.gz inkscape-2d08a9d98d19a0581eeae687bb0322dc98806d40.zip | |
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)
Diffstat (limited to 'src/splivarot.cpp')
| -rw-r--r-- | src/splivarot.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 <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); } |
