summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2020-09-15 16:26:29 +0900
committerMinje Ahn <minje.ahn@samsung.com>2020-09-15 16:57:36 +0900
commit39ae0af8d1ea58069896e524a57328fba83b5d23 (patch)
tree0120e3fe1ad9adbd6b4d07b2da02dbcf04d9371c
parent74bdc88b1bb73967a71589a4c809a9b669046ac9 (diff)
downloadmedia-content-tizen_6.0_hotfix.tar.gz
media-content-tizen_6.0_hotfix.tar.bz2
media-content-tizen_6.0_hotfix.zip
Change-Id: I5b601b8ca90ef907e827c05a23e3a60a360eaa1c Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
-rw-r--r--packaging/capi-content-media-content.spec2
-rw-r--r--src/media_content.c2
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");