mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +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,8 +2628,10 @@ tackygoto:
|
||||
cs[1] = cs[2];
|
||||
}
|
||||
lock_both(callno0, callno1);
|
||||
iaxs[callno0]->bridgecallno = 0;
|
||||
iaxs[callno1]->bridgecallno = 0;
|
||||
if(iaxs[callno0])
|
||||
iaxs[callno0]->bridgecallno = 0;
|
||||
if(iaxs[callno1])
|
||||
iaxs[callno1]->bridgecallno = 0;
|
||||
unlock_both(callno0, callno1);
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user