X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fdyna-draw-context.cpp;h=ef0f47397dfc043391a5bbab72e61387db6a4dca;hb=815e3fc44098466b138092ef35137c5f71de14f9;hp=acbd6ae80af7bd128d1e21e08ac0947af5d41206;hpb=1c968bc09c19ff481b7274d03bf7ddc9055bc091;p=inkscape.git diff --git a/src/dyna-draw-context.cpp b/src/dyna-draw-context.cpp index acbd6ae80..ef0f47397 100644 --- a/src/dyna-draw-context.cpp +++ b/src/dyna-draw-context.cpp @@ -29,6 +29,7 @@ #include "display/canvas-bpath.h" #include "display/bezier-utils.h" +#include #include "macros.h" #include "document.h" #include "selection.h" @@ -668,7 +669,7 @@ set_to_accumulated(SPDynaDrawContext *dc) abp = nr_artpath_affine(sp_curve_first_bpath(dc->accumulated), sp_desktop_dt2root_affine(desktop)); str = sp_svg_write_path(abp); g_assert( str != NULL ); - nr_free(abp); + g_free(abp); dc->repr->setAttribute("d", str); g_free(str); } else {