Fix a minor problem with the backport to 1.4.19

git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.4.19.2@115888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4.19.2
Russell Bryant 18 years ago
parent a0c8d474ca
commit 38cf8c772c

@ -1518,9 +1518,6 @@ static int find_callno(unsigned short callno, unsigned short dcallno, struct soc
memcpy(&tmp_pvt.addr, sin, sizeof(tmp_pvt.addr));
if ((pvt = ao2_find(iax_peercallno_pvts, &tmp_pvt, OBJ_POINTER))) {
if (return_locked) {
ast_mutex_lock(&iaxsl[pvt->callno]);
}
res = pvt->callno;
ao2_ref(pvt, -1);
pvt = NULL;

Loading…
Cancel
Save