diff options
| author | chr <chr> | 2017-05-18 17:58:59 +0000 |
|---|---|---|
| committer | chr <chr> | 2017-05-18 17:58:59 +0000 |
| commit | 6c05c1c14cb8d29fb06d6779ec9817615c518ab5 (patch) | |
| tree | c2d27beedaeb56110dcd5b1ab325df8e76d16917 /src/path-chemistry.cpp | |
| parent | bugfix crash while moving objects (diff) | |
| download | inkscape-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.cpp | 3 |
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); |
