free rawdata
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14642 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user