From ba6645f5d3de68e027bb3b1d7660972f5d3bbf67 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 5 Jan 2014 21:53:15 +0000 Subject: [PATCH] free rawdata git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14642 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/sq905/library.c | 1 + 1 file changed, 1 insertion(+) 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;