Set to null to prevent malfunction.
Change-Id: Ia2bd9ab7089223916e62db2cd4cd31d509c7adfd
Signed-off-by: minje.ahn <minje.ahn@samsung.com>
/* Table Free */
g_hash_table_destroy(table);
/* Table Free */
g_hash_table_destroy(table);
- 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);
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)
}
int _media_svc_sql_query(const char *sql_str, uid_t uid)