diff options
author | Minje Ahn <minje.ahn@samsung.com> | 2016-06-07 16:04:51 +0900 |
---|---|---|
committer | Minje Ahn <minje.ahn@samsung.com> | 2016-06-07 16:04:51 +0900 |
commit | 29f1964d08ae8f4f4c794c3c6c8d1da1bbb62c08 (patch) | |
tree | 25fcccb9d0ec135ddf1139eae82d89d3ad7cb1c2 | |
parent | 95f392d7e44773c3572dab021b1300d481789843 (diff) | |
download | libmedia-thumbnail-29f1964d08ae8f4f4c794c3c6c8d1da1bbb62c08.tar.gz libmedia-thumbnail-29f1964d08ae8f4f4c794c3c6c8d1da1bbb62c08.tar.bz2 libmedia-thumbnail-29f1964d08ae8f4f4c794c3c6c8d1da1bbb62c08.zip |
Fix memory leaksubmit/tizen/20160609.040222accepted/tizen/wearable/20160609.091727accepted/tizen/tv/20160609.091638accepted/tizen/mobile/20160609.092010accepted/tizen/ivi/20160609.091752accepted/tizen/common/20160609.145233
Change-Id: Ib93a32cc07dba71331cd6a34b6eeb7ec6479282f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
-rw-r--r-- | packaging/libmedia-thumbnail.spec | 2 | ||||
-rwxr-xr-x | server/thumb-server-internal.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/packaging/libmedia-thumbnail.spec b/packaging/libmedia-thumbnail.spec index 589f368..88d3bf7 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.95 +Version: 0.1.96 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 and public domain diff --git a/server/thumb-server-internal.c b/server/thumb-server-internal.c index e8d33b2..3d964de 100755 --- a/server/thumb-server-internal.c +++ b/server/thumb-server-internal.c @@ -438,6 +438,7 @@ gboolean _thumb_server_read_socket(GIOChannel *src, thumb_dbg_slog("Sent data(%d) from %s", res_msg.thumb_size, res_msg.org_path); } SAFE_FREE(buf); + SAFE_FREE(res_msg.thumb_data); if (recv_msg.msg_type == THUMB_REQUEST_KILL_SERVER) { thumb_warn("Shutting down..."); |