global_contact_ha was renamed in trunk
[asterisk/asterisk.git] / channels / chan_sip.c
index 77ff87a..93c9b8c 100644 (file)
@@ -27078,7 +27078,7 @@ static int unload_module(void)
        ao2_t_ref(threadt, -1, "unref the thread table");
 
        clear_sip_domains();
-       ast_free_ha(global_contact_ha);
+       ast_free_ha(sip_cfg.contact_ha);
        close(sipsock);
        sched_context_destroy(sched);
        con = ast_context_find(used_context);