summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Min <jiyong.min@samsung.com>2017-03-16 08:58:10 (GMT)
committerJiyong Min <jiyong.min@samsung.com>2017-03-16 09:06:24 (GMT)
commit8dd55ecdb3be5e23b39784018edf7c4fc5411b80 (patch)
treee1ba7cbed9b1991345708e3fee8e2fd5fa63815a
parente4c7c363293cb16a6cae16680913e3111be7d564 (diff)
downloadlibmedia-thumbnail-accepted/tizen/common/20170316.161857.zip
libmedia-thumbnail-accepted/tizen/common/20170316.161857.tar.gz
libmedia-thumbnail-accepted/tizen/common/20170316.161857.tar.bz2
[Problem] Crash by double-free - The description of thumbnail-util should be free the thumbnail buffer after using it in application. Change-Id: I4b0dd6df93756205aabc9690d4d7044bb87094eb Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
-rw-r--r--packaging/libmedia-thumbnail.spec2
-rwxr-xr-xsrc/ipc/media-thumb-ipc.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/packaging/libmedia-thumbnail.spec b/packaging/libmedia-thumbnail.spec
index 94bfca1..2698e36 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.1.102
+Version: 0.1.103
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0 and public domain
diff --git a/src/ipc/media-thumb-ipc.c b/src/ipc/media-thumb-ipc.c
index 21caafb..6aee3a3 100755
--- a/src/ipc/media-thumb-ipc.c
+++ b/src/ipc/media-thumb-ipc.c
@@ -746,8 +746,6 @@ gboolean _media_thumb_raw_data_write_socket(GIOChannel *src, GIOCondition condit
thumb_dbg("Done");
- SAFE_FREE(recv_msg.thumb_data);
-
/* Check manage queue */
if (g_manage_raw_queue) {
len = g_queue_get_length(g_manage_raw_queue);