Merged revisions 82263 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82263 | russell | 2007-09-11 15:49:34 -0500 (Tue, 11 Sep 2007) | 5 lines Fix another missing unref of member objects. This one was pointed out by Marta. When building the outgoing list in try_calling(), a member reference is stored in each outgoing entry. However, when this list got destroyed, the reference was not released. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
c6b6a67364
commit
c0bcb9f218
|
@ -1664,6 +1664,8 @@ static void hangupcalls(struct callattempt *outgoing, struct ast_channel *except
|
|||
ast_hangup(outgoing->chan);
|
||||
oo = outgoing;
|
||||
outgoing = outgoing->q_next;
|
||||
if (oo->member)
|
||||
ao2_ref(oo->member, -1);
|
||||
ast_free(oo);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue