summaryrefslogtreecommitdiff
path: root/camlibs/sq905
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2014-01-05 21:53:15 +0000
committerMarcus Meissner <marcus@jet.franken.de>2014-01-05 21:53:15 +0000
commitba6645f5d3de68e027bb3b1d7660972f5d3bbf67 (patch)
treec6320678e99696a84f715d8ab80deddb9d1d0f20 /camlibs/sq905
parent42cbc92b762590268ea9efea862a192b78d04f73 (diff)
downloadlibgphoto2-ba6645f5d3de68e027bb3b1d7660972f5d3bbf67.tar.gz
free rawdata
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14642 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/sq905')
-rw-r--r--camlibs/sq905/library.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/camlibs/sq905/library.c b/camlibs/sq905/library.c
index 4fc9b5ac7..d82fbcd7f 100644
--- a/camlibs/sq905/library.c
+++ b/camlibs/sq905/library.c
@@ -397,6 +397,7 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename,
gp_file_set_mime_type (file, GP_MIME_PPM);
gp_file_set_data_and_size (file, (char *)ppm, size);
+ free (rawdata);
} else { /* type is GP_FILE_TYPE_RAW */
size = w*h/comp_ratio;