Merged revisions 237135 via svnmerge from
authorOlle Johansson <oej@edvina.net>
Sat, 2 Jan 2010 09:54:22 +0000 (09:54 +0000)
committerOlle Johansson <oej@edvina.net>
Sat, 2 Jan 2010 09:54:22 +0000 (09:54 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r237135 | oej | 2010-01-02 10:52:30 +0100 (Lör, 02 Jan 2010) | 2 lines

Release memory of the contact acl before unloading module

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@237136 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 5c90b06..77ff87a 100644 (file)
@@ -27078,6 +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);
        close(sipsock);
        sched_context_destroy(sched);
        con = ast_context_find(used_context);