aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-08-12 22:14:03 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-08-12 22:14:03 +0000
commitfbbe897bf7fe4841d0ef5d569ab8af363260ff4d (patch)
treed5291ec4782bfd104926fcd14d02d1657b0facce /channels
parent15fe431d147639058befa257ecb6aafef7c11724 (diff)
Also NULL-ify the p->owner when the calls drop because of alarm
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1302 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_zap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index e55c94734..382890e05 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -2573,6 +2573,7 @@ static struct ast_frame *zt_handle_event(struct ast_channel *ast)
#ifdef PRI_DESTROYCALL
pri_destroycall(p->pri->pri, p->call);
p->call = NULL;
+ p->owner = NULL;
#else
#error Please "cvs update" and recompile libpri
#endif