diff options
author | Jiyong Min <jiyong.min@samsung.com> | 2017-03-16 17:58:10 +0900 |
---|---|---|
committer | Jiyong Min <jiyong.min@samsung.com> | 2017-03-16 18:06:24 +0900 |
commit | 8dd55ecdb3be5e23b39784018edf7c4fc5411b80 (patch) | |
tree | e1ba7cbed9b1991345708e3fee8e2fd5fa63815a | |
parent | e4c7c363293cb16a6cae16680913e3111be7d564 (diff) | |
download | libmedia-thumbnail-8dd55ecdb3be5e23b39784018edf7c4fc5411b80.tar.gz libmedia-thumbnail-8dd55ecdb3be5e23b39784018edf7c4fc5411b80.tar.bz2 libmedia-thumbnail-8dd55ecdb3be5e23b39784018edf7c4fc5411b80.zip |
Remove to free the thumbnail buffersubmit/tizen/20170316.091033accepted/tizen/wearable/20170316.101801accepted/tizen/unified/20170316.101831accepted/tizen/tv/20170316.101726accepted/tizen/mobile/20170316.101637accepted/tizen/ivi/20170316.101816accepted/tizen/common/20170316.161857
[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.spec | 2 | ||||
-rwxr-xr-x | src/ipc/media-thumb-ipc.c | 2 |
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); |