From: Wootak Jung Date: Mon, 16 May 2016 10:36:59 +0000 (+0900) Subject: Fix memory leak issue X-Git-Tag: accepted/tizen/common/20160516.143532^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F95%2F69695%2F1;p=platform%2Fcore%2Ftelephony%2Flibtcore.git Fix memory leak issue Change-Id: I775f166818cfd157628b89cd49f0c0ee7065b8b0 --- diff --git a/packaging/libtcore.spec b/packaging/libtcore.spec index 4fdd830..d08811a 100644 --- a/packaging/libtcore.spec +++ b/packaging/libtcore.spec @@ -1,6 +1,6 @@ %define major 0 %define minor 3 -%define patchlevel 1 +%define patchlevel 2 Name: libtcore Version: %{major}.%{minor}.%{patchlevel} diff --git a/src/core_object/co_network.c b/src/core_object/co_network.c index acf5d29..53440d0 100644 --- a/src/core_object/co_network.c +++ b/src/core_object/co_network.c @@ -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");