summaryrefslogtreecommitdiff
path: root/camlibs/ptp2/olympus-wrap.c
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2014-01-18 18:22:31 +0000
committerMarcus Meissner <marcus@jet.franken.de>2014-01-18 18:22:31 +0000
commitbf7f055a4aef769c0d25926ce681de447347d512 (patch)
tree8293bb47fbd7fa1bb41bb301c72d9ad8c2678844 /camlibs/ptp2/olympus-wrap.c
parent99b6eef932ea0cd3f68fe2b652ec446b46793932 (diff)
downloadlibgphoto2-bf7f055a4aef769c0d25926ce681de447347d512.tar.gz
free the correct value
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14717 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/ptp2/olympus-wrap.c')
-rw-r--r--camlibs/ptp2/olympus-wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/ptp2/olympus-wrap.c b/camlibs/ptp2/olympus-wrap.c
index 4ae452828..7e14b30e9 100644
--- a/camlibs/ptp2/olympus-wrap.c
+++ b/camlibs/ptp2/olympus-wrap.c
@@ -590,7 +590,7 @@ parse_9581_tree (xmlNodePtr node) {
next = xmlNextElementSibling (next);
- free (x);
+ free (decoded);
continue;
}
gp_log (GP_LOG_ERROR, "olympus","9581: unhandled node type %s", next->name);