X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fmedia_content.c;h=69df521b71fefa10e06cfab508a939cfff4ad4f5;hb=refs%2Ftags%2Faccepted%2Ftizen%2F6.0%2Funified%2Fhotfix%2F20201103.050051;hp=8b2b3afa10a04b810e5851b55a17493887d70d3b;hpb=74bdc88b1bb73967a71589a4c809a9b669046ac9;p=platform%2Fcore%2Fapi%2Fmedia-content.git 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");