/* 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)