diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2014-01-05 22:06:48 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2014-01-05 22:06:48 +0000 |
commit | e25500eb77bce5e27fcf858ca6057af61791a531 (patch) | |
tree | c3bc9aa06bab3d2ea3a00c6e9f6d0810826c0abb | |
parent | 1dc0acced59124a07bfcaf8dfab834181dcdddeb (diff) | |
download | libgphoto2-e25500eb77bce5e27fcf858ca6057af61791a531.tar.gz |
free(x) (Coverity)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14645 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r-- | camlibs/ptp2/olympus-wrap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camlibs/ptp2/olympus-wrap.c b/camlibs/ptp2/olympus-wrap.c index 442484441..4ae452828 100644 --- a/camlibs/ptp2/olympus-wrap.c +++ b/camlibs/ptp2/olympus-wrap.c @@ -590,6 +590,7 @@ parse_9581_tree (xmlNodePtr node) { next = xmlNextElementSibling (next); + free (x); continue; } gp_log (GP_LOG_ERROR, "olympus","9581: unhandled node type %s", next->name); |