diff options
author | Minje Ahn <minje.ahn@samsung.com> | 2020-09-15 16:26:29 +0900 |
---|---|---|
committer | Minje Ahn <minje.ahn@samsung.com> | 2020-09-15 16:57:36 +0900 |
commit | 39ae0af8d1ea58069896e524a57328fba83b5d23 (patch) | |
tree | 0120e3fe1ad9adbd6b4d07b2da02dbcf04d9371c | |
parent | 74bdc88b1bb73967a71589a4c809a9b669046ac9 (diff) | |
download | media-content-tizen_6.0.tar.gz media-content-tizen_6.0.tar.bz2 media-content-tizen_6.0.zip |
Fix memory leaktizen_6.0.m2_releasesubmit/tizen_6.0_hotfix/20201103.114802submit/tizen_6.0_hotfix/20201102.192502submit/tizen_6.0/20201029.205102submit/tizen/20200917.004955submit/tizen/20200916.012329accepted/tizen/unified/20200917.055753accepted/tizen/6.0/unified/hotfix/20201103.050051accepted/tizen/6.0/unified/hotfix/20201103.003336accepted/tizen/6.0/unified/20201030.121224tizen_6.0_hotfixtizen_6.0accepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unified
Change-Id: I5b601b8ca90ef907e827c05a23e3a60a360eaa1c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
-rw-r--r-- | packaging/capi-content-media-content.spec | 2 | ||||
-rw-r--r-- | src/media_content.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/packaging/capi-content-media-content.spec b/packaging/capi-content-media-content.spec index 8d590f6..59baa6b 100644 --- a/packaging/capi-content-media-content.spec +++ b/packaging/capi-content-media-content.spec @@ -1,6 +1,6 @@ Name: capi-content-media-content Summary: A Media content library in Tizen Native API -Version: 0.4.12 +Version: 0.4.13 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/src/media_content.c b/src/media_content.c index 8b2b3af..69df521 100644 --- a/src/media_content.c +++ b/src/media_content.c @@ -222,6 +222,8 @@ int media_content_scan_file(const char *path) return MEDIA_CONTENT_ERROR_INVALID_PARAMETER; } + g_free(folder_path); + /* check feature */ content_retvm_if(!_media_util_check_support_media_type(repl_path), MEDIA_CONTENT_ERROR_NOT_SUPPORTED, "Unsupported media type"); |