projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abb7edd
)
Add fix to prevent crash during reload if there is an outstanding MWI registration...
author
Doug Bailey
<dbailey@digium.com>
Fri, 21 Nov 2008 15:53:49 +0000
(15:53 +0000)
committer
Doug Bailey
<dbailey@digium.com>
Fri, 21 Nov 2008 15:53:49 +0000
(15:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@158315
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
103c295
..
f295add
100644
(file)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-4985,6
+4985,10
@@
static void __sip_destroy(struct sip_pvt *p, int lockowner, int lockdialoglist)
p->registry = registry_unref(p->registry, "delete p->registry");
}
+ if (p->mwi) {
+ p->mwi->call = NULL;
+ }
+
if (dumphistory)
sip_dump_history(p);