summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/media-thumb-internal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c
index f9ad343..ef0f51d 100755
--- a/src/media-thumb-internal.c
+++ b/src/media-thumb-internal.c
@@ -594,6 +594,7 @@ int _media_thumb_get_thumb_from_exif(ExifData *ed,
if (err != MS_MEDIA_ERR_NONE) {
thumb_err("_media_thumb_rotate_thumb falied: %d", err);
SAFE_FREE(thumb_info->data);
+ SAFE_FREE(raw_image);
return err;
}