summaryrefslogtreecommitdiffstats
path: root/src/path-chemistry.cpp
diff options
context:
space:
mode:
authorchr <chr>2017-05-18 17:58:59 +0000
committerchr <chr>2017-05-18 17:58:59 +0000
commit6c05c1c14cb8d29fb06d6779ec9817615c518ab5 (patch)
treec2d27beedaeb56110dcd5b1ab325df8e76d16917 /src/path-chemistry.cpp
parentbugfix crash while moving objects (diff)
downloadinkscape-6c05c1c14cb8d29fb06d6779ec9817615c518ab5.tar.gz
inkscape-6c05c1c14cb8d29fb06d6779ec9817615c518ab5.zip
fix a brunch of memory leaks
(bzr r15698.1.2)
Diffstat (limited to 'src/path-chemistry.cpp')
-rw-r--r--src/path-chemistry.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp
index b66bcf368..7840c4ca8 100644
--- a/src/path-chemistry.cpp
+++ b/src/path-chemistry.cpp
@@ -255,8 +255,9 @@ ObjectSet::breakApart(bool skip_undo)
repr->setAttribute("inkscape:original-d", str);
else
repr->setAttribute("d", str);
+ str = sp_svg_transform_write(transform);
+ repr->setAttribute("transform", str);
g_free(str);
- repr->setAttribute("transform", sp_svg_transform_write(transform));
// add the new repr to the parent
parent->appendChild(repr);