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;