]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Destroy the proper dialog...
authorOlle Johansson <oej@edvina.net>
Wed, 8 Nov 2006 07:40:38 +0000 (07:40 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 8 Nov 2006 07:40:38 +0000 (07:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47308 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index dd2781c5bc5e13a075bda759908081b91db31cd8..44cb5c9449bf7ed4340e38e644980f31ec0a91e2 100644 (file)
@@ -13554,7 +13554,7 @@ int unload_module()
                while (p) {
                        pl = p;
                        p = p->next;
-                       __sip_destroy(p, 1);
+                       __sip_destroy(pl, 1);
                }
                iflist = NULL;
                ast_mutex_unlock(&iflock);