From 677712f07290f365039f634438bde32eb06e5c84 Mon Sep 17 00:00:00 2001 From: "jiyong.min" Date: Mon, 28 Jan 2019 09:14:14 +0900 Subject: [PATCH] Change the checking parameters due to 'sql' memory leackage and fix the declaration of media_svc_insert_item_begin() Change-Id: Ice666c65a8da387a5ef316cb6fabd2b1b8be69a4 --- include/media-svc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/media-svc.h b/include/media-svc.h index 46ffcbe..9affb48 100755 --- a/include/media-svc.h +++ b/include/media-svc.h @@ -39,7 +39,7 @@ int media_svc_get_user_version(sqlite3 *handle, int *user_version); int media_svc_create_table(uid_t uid); int media_svc_check_item_exist_by_path(sqlite3 *handle, const char *storage_id, const char *path); int media_svc_insert_folder(sqlite3 *handle, const char *storage_id, ms_user_storage_type_e storage_type, const char *path, uid_t uid); -int media_svc_insert_item_begin(int with_noti, int data_cnt, int from_pid); +int media_svc_insert_item_begin(int data_cnt, int with_noti, int from_pid); int media_svc_insert_item_end(uid_t uid); int media_svc_insert_item_bulk(sqlite3 *handle, const char *storage_id, ms_user_storage_type_e storage_type, const char *path, uid_t uid); int media_svc_insert_item_immediately(sqlite3 *handle, const char *storage_id, ms_user_storage_type_e storage_type, const char *path, uid_t uid); -- 2.7.4