glib doesn't like it. --- src/dnsproxy.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/dnsproxy.c b/src/dnsproxy.c index 9d7ba61..9787b68 100644 --- a/src/dnsproxy.c +++ b/src/dnsproxy.c @@ -3872,8 +3872,10 @@ void __connman_dnsproxy_cleanup(void) cache_timer = 0; } - g_hash_table_destroy(cache); - cache = NULL; + if (cache) { + g_hash_table_destroy(cache); + cache = NULL; + } connman_notifier_unregister(&dnsproxy_notifier); -- 1.8.3.2 _______________________________________________ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman