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/sp-pattern.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/sp-pattern.cpp')
| -rw-r--r-- | src/sp-pattern.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp-pattern.cpp b/src/sp-pattern.cpp index fcfdf552e..1e198506b 100644 --- a/src/sp-pattern.cpp +++ b/src/sp-pattern.cpp @@ -393,6 +393,7 @@ const gchar *SPPattern::produce(const std::vector<Inkscape::XML::Node *> &reprs, if(transform != Geom::Affine()){ gchar *t = sp_svg_transform_write(transform); repr->setAttribute("patternTransform", t); + g_free(t); } defsrepr->appendChild(repr); const gchar *pat_id = repr->attribute("id"); |
