summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaejeong Kim <backto.kim@samsung.com>2017-09-04 02:17:42 (GMT)
committerhj kim <backto.kim@samsung.com>2017-09-04 02:18:29 (GMT)
commit3dbb064466570381e2660304aa60462d9f95d12f (patch)
tree6e5dd5f18b04034f9e188f6aef13f94d296c8c25 /src
parent033c47246776bcf23ce24d5328f8b7f17162bdaf (diff)
downloadlibmedia-thumbnail-3dbb064466570381e2660304aa60462d9f95d12f.zip
libmedia-thumbnail-3dbb064466570381e2660304aa60462d9f95d12f.tar.gz
libmedia-thumbnail-3dbb064466570381e2660304aa60462d9f95d12f.tar.bz2
Change-Id: I16870f603ac4490ea9117e000f284175b056a6ce
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;
}