]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Release memory of the contact acl before unloading module
authorOlle Johansson <oej@edvina.net>
Sat, 2 Jan 2010 09:52:30 +0000 (09:52 +0000)
committerOlle Johansson <oej@edvina.net>
Sat, 2 Jan 2010 09:52:30 +0000 (09:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@237135 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 87301c844c5f6fa7364df2c794e325b28872abdf..cb0b5f907f44b8316fa70085a72328740eacb39e 100644 (file)
@@ -19612,6 +19612,7 @@ restartdestroy:
 
        clear_realm_authentication(authl);
        clear_sip_domains();
+       ast_free_ha(global_contact_ha);
        close(sipsock);
        sched_context_destroy(sched);