projects
/
platform
/
core
/
multimedia
/
libmedia-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f58f8e6
)
Fix crash issue
97/282897/2
accepted/tizen_7.0_unified
accepted/tizen_7.0_unified_hotfix
tizen_7.0
tizen_7.0_hotfix
accepted/tizen/7.0/unified/20221110.062818
accepted/tizen/7.0/unified/hotfix/20221116.105406
accepted/tizen/unified/20221013.130855
tizen_7.0_m2_release
author
minje.ahn
<minje.ahn@samsung.com>
Thu, 13 Oct 2022 05:34:36 +0000
(14:34 +0900)
committer
minje.ahn
<minje.ahn@samsung.com>
Thu, 13 Oct 2022 05:54:09 +0000
(14:54 +0900)
Set to null to prevent malfunction.
Change-Id: Ia2bd9ab7089223916e62db2cd4cd31d509c7adfd
Signed-off-by: minje.ahn <minje.ahn@samsung.com>
src/common/media-svc-db-utils.c
patch
|
blob
|
history
diff --git
a/src/common/media-svc-db-utils.c
b/src/common/media-svc-db-utils.c
index
1eb3d06
..
500e5e6
100755
(executable)
--- a/
src/common/media-svc-db-utils.c
+++ b/
src/common/media-svc-db-utils.c
@@
-487,10
+487,13
@@
void _media_svc_destroy_table_query(void)
/* Table Free */
g_hash_table_destroy(table);
+ table = NULL;
/* Column Free */
- for (i = 0; i < DB_LIST_MAX; i++)
+ for (i = 0; i < DB_LIST_MAX; i++)
{
g_slist_free_full(column_list[i], __media_svc_column_free);
+ column_list[i] = NULL;
+ }
}
int _media_svc_sql_query(const char *sql_str, uid_t uid)