From: Minje Ahn Date: Fri, 6 Aug 2021 01:30:33 +0000 (+0900) Subject: Fix memory leak X-Git-Tag: accepted/tizen/unified/20210810.135306^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3207169a8499e1af4e8c752bbfd8c8351020b17;p=platform%2Fcore%2Fapi%2Fmedia-content.git Fix memory leak Change-Id: I6a80c38338103b709401b6bff4dfaa35858898d5 Signed-off-by: Minje Ahn --- diff --git a/test/media-content_test.c b/test/media-content_test.c index 0470978..45e3419 100755 --- a/test/media-content_test.c +++ b/test/media-content_test.c @@ -2462,11 +2462,14 @@ int test_ebook_text_finder(const char *keyword) book_meta_destroy(book); media_info_destroy(media); content_debug("==============================="); + g_free(book_path_list[i]); } ms_time = (end_time.tv_sec * 1000LL + end_time.tv_usec / 1000) - (start_time.tv_sec * 1000LL + start_time.tv_usec/ 1000); - content_debug("Search Time [%lld]", ms_time); + + g_free(book_path_list); + return ret; } int test_disconnect_database(void)