summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMartin Pycko <martinp@digium.com>2003-08-12 22:14:03 +0000
committerMartin Pycko <martinp@digium.com>2003-08-12 22:14:03 +0000
commit4fbe072aa41df7c088bd8f79e4f8ae5f764215ba (patch)
treed5291ec4782bfd104926fcd14d02d1657b0facce /channels
parente85c9cbc45265e8b3dfe20067dac321268bde626 (diff)
Also NULL-ify the p->owner when the calls drop because of alarm
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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