summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");