Fix memory leak issue 95/69695/1 accepted/tizen/common/20160516.143532 accepted/tizen/ivi/20160517.032656 accepted/tizen/mobile/20160517.032930 accepted/tizen/tv/20160517.032717 accepted/tizen/wearable/20160517.032756 submit/tizen/20160516.121150
authorWootak Jung <wootak.jung@samsung.com>
Mon, 16 May 2016 10:36:59 +0000 (19:36 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 16 May 2016 10:36:59 +0000 (19:36 +0900)
Change-Id: I775f166818cfd157628b89cd49f0c0ee7065b8b0

packaging/libtcore.spec
src/core_object/co_network.c

index 4fdd830..d08811a 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 3
-%define patchlevel 1
+%define patchlevel 2
 
 Name:           libtcore
 Version:        %{major}.%{minor}.%{patchlevel}
index acf5d29..53440d0 100644 (file)
@@ -1105,7 +1105,7 @@ gboolean tcore_network_load_mcc_mnc_oper_list_from_db(TcorePlugin *p,
                mcc, mnc);
        dbg("query = [%s]", query);
 
-       result = g_hash_table_new_full(g_str_hash, g_str_equal, NULL,
+       result = g_hash_table_new_full(g_str_hash, g_str_equal, g_free,
                (GDestroyNotify) g_hash_table_destroy);
        if (!result) {
                err("fail to create new hash table");