mirror of
https://github.com/asterisk/asterisk.git
synced 2025-12-04 04:01:56 +00:00
Fix potential seg (Bug #2550)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2628,7 +2628,9 @@ tackygoto:
|
|||||||
cs[1] = cs[2];
|
cs[1] = cs[2];
|
||||||
}
|
}
|
||||||
lock_both(callno0, callno1);
|
lock_both(callno0, callno1);
|
||||||
|
if(iaxs[callno0])
|
||||||
iaxs[callno0]->bridgecallno = 0;
|
iaxs[callno0]->bridgecallno = 0;
|
||||||
|
if(iaxs[callno1])
|
||||||
iaxs[callno1]->bridgecallno = 0;
|
iaxs[callno1]->bridgecallno = 0;
|
||||||
unlock_both(callno0, callno1);
|
unlock_both(callno0, callno1);
|
||||||
return res;
|
return res;
|
||||||
|
|||||||
Reference in New Issue
Block a user