summaryrefslogtreecommitdiff
path: root/camlibs/jd11
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2014-07-01 07:52:10 +0000
committerMarcus Meissner <marcus@jet.franken.de>2014-07-01 07:52:10 +0000
commite4354bd7a2f3de1c4f58e5442f55742cb9cbf8a3 (patch)
treef7643e33a38878431dd4c0725ab4b32ed7363856 /camlibs/jd11
parenta8c83ab636d803de3451ebbc20906b2fff25bdc9 (diff)
downloadlibgphoto2-e4354bd7a2f3de1c4f58e5442f55742cb9cbf8a3.tar.gz
free lastline and line
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15048 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/jd11')
-rw-r--r--camlibs/jd11/decomp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/camlibs/jd11/decomp.c b/camlibs/jd11/decomp.c
index 635aefd86..899dc1eab 100644
--- a/camlibs/jd11/decomp.c
+++ b/camlibs/jd11/decomp.c
@@ -148,6 +148,8 @@ picture_decomp_v1(unsigned char *compressed,unsigned char *uncompressed,int widt
*uncompressed++=xbyte;
}
}
+ free (lastline);
+ free (line);
}
/* Just blow up the picture from 6 bit uncompressed to 8 bit uncompressed */