summaryrefslogtreecommitdiffstats
path: root/src/widgets/stroke-style.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-09-30 20:05:43 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-09-30 20:05:43 +0000
commit729db6f014a96c65417a06d8bf130e6af6737da0 (patch)
tree01e6777b34de000b8565045083c549b8abdfb72b /src/widgets/stroke-style.cpp
parentfix memleak (diff)
downloadinkscape-729db6f014a96c65417a06d8bf130e6af6737da0.tar.gz
inkscape-729db6f014a96c65417a06d8bf130e6af6737da0.zip
fix obvious leak
(bzr r12634)
Diffstat (limited to 'src/widgets/stroke-style.cpp')
-rw-r--r--src/widgets/stroke-style.cpp2
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;
}