summaryrefslogtreecommitdiff
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
parent033c47246776bcf23ce24d5328f8b7f17162bdaf (diff)
downloadlibmedia-thumbnail-3dbb064466570381e2660304aa60462d9f95d12f.zip
libmedia-thumbnail-3dbb064466570381e2660304aa60462d9f95d12f.tar.gz
libmedia-thumbnail-3dbb064466570381e2660304aa60462d9f95d12f.tar.bz2
Change-Id: I16870f603ac4490ea9117e000f284175b056a6ce
-rw-r--r--packaging/libmedia-thumbnail.spec2
-rwxr-xr-xsrc/media-thumb-internal.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/packaging/libmedia-thumbnail.spec b/packaging/libmedia-thumbnail.spec
index 27a0c47..cab076b 100644
--- a/packaging/libmedia-thumbnail.spec
+++ b/packaging/libmedia-thumbnail.spec
@@ -1,6 +1,6 @@
Name: libmedia-thumbnail
Summary: Media thumbnail service library for multimedia applications
-Version: 0.2.15
+Version: 0.2.16
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0 and PD
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;
}