From: Patrik Flykt Date: Tue, 27 Nov 2012 11:48:30 +0000 (+0200) Subject: dnsproxy: Fix hash table comparison function to avoid crash X-Git-Tag: 1.10~90 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b47b6c11e6c6bb32dd2342abe5eea96c1e79127;p=platform%2Fupstream%2Fconnman.git dnsproxy: Fix hash table comparison function to avoid crash --- diff --git a/src/dnsproxy.c b/src/dnsproxy.c index 5e06a97..ce61909 100644 --- a/src/dnsproxy.c +++ b/src/dnsproxy.c @@ -2974,7 +2974,7 @@ int __connman_dnsproxy_init(void) srandom(time(NULL)); - listener_table = g_hash_table_new_full(g_direct_hash, g_str_equal, + listener_table = g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, g_free); index = connman_inet_ifindex("lo");