From: Martin Pycko Date: Tue, 12 Aug 2003 22:14:03 +0000 (+0000) Subject: Also NULL-ify the p->owner when the calls drop because of alarm X-Git-Tag: 0.5.0~194 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4fbe072aa41df7c088bd8f79e4f8ae5f764215ba;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index e55c947348..382890e054 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