diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2013-09-30 20:05:43 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2013-09-30 20:05:43 +0000 |
| commit | 729db6f014a96c65417a06d8bf130e6af6737da0 (patch) | |
| tree | 01e6777b34de000b8565045083c549b8abdfb72b /src/widgets | |
| parent | fix memleak (diff) | |
| download | inkscape-729db6f014a96c65417a06d8bf130e6af6737da0.tar.gz inkscape-729db6f014a96c65417a06d8bf130e6af6737da0.zip | |
fix obvious leak
(bzr r12634)
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/stroke-style.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp index 31f4bb2e5..a0b638031 100644 --- a/src/widgets/stroke-style.cpp +++ b/src/widgets/stroke-style.cpp @@ -85,6 +85,8 @@ SPObject* getMarkerObj(gchar const *n, SPDocument *doc) // FIXME: get the document from the object and let the caller pass it in SPObject *marker = doc->getObjectById(b); + + g_free(b); return marker; } |
