Code

replace nr_new() with g_new(), and try to converge on using the glib allocator a...
[inkscape.git] / src / libnrtype / Layout-TNG-Output.cpp
index bdcc6cf3f099982e83a09967a86fbb8d5b531d4f..40bd71027f5f8b870b485facf0f010e2f8379a36 100755 (executable)
@@ -8,6 +8,7 @@
  *
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
+#include <glib/gmem.h>
 #include "Layout-TNG.h"
 #include "display/nr-arena-glyphs.h"
 #include "style.h"
@@ -145,7 +146,7 @@ void Layout::print(SPPrintContext *ctx,
                     sp_print_fill(ctx, &abp, &ctm, text_source->style, pbox, dbox, bbox);
                 if (text_source->style->stroke.type != SP_PAINT_TYPE_NONE)
                     sp_print_stroke(ctx, &abp, &ctm, text_source->style, pbox, dbox, bbox);
-                nr_free(abp.path);
+                g_free(abp.path);
             }
             glyph_index++;
         } else {