From 5b47b6c11e6c6bb32dd2342abe5eea96c1e79127 Mon Sep 17 00:00:00 2001 From: Patrik Flykt Date: Tue, 27 Nov 2012 13:48:30 +0200 Subject: [PATCH] dnsproxy: Fix hash table comparison function to avoid crash --- src/dnsproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.7.4