]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Also NULL-ify the p->owner when the calls drop because of alarm
authorMartin Pycko <martinp@digium.com>
Tue, 12 Aug 2003 22:14:03 +0000 (22:14 +0000)
committerMartin Pycko <martinp@digium.com>
Tue, 12 Aug 2003 22:14:03 +0000 (22:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1302 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index e55c94734807c1b172a091dcd3db6acbe84eaa58..382890e054566ed16609d2f1f080f557c28254c0 100755 (executable)
@@ -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