Files
asterisk/main
Terry Wilson c068460b12 Don't leak a ref if out of memory and can't link the linkedid
If the ao2_link fails, we are most likely out of memory and bad things
are going to happen. Before those bad things happen, make sure to clean
up the linkedid references.

This patch also adds a comment explaining why linkedid can't be passed
to both local channel allocations and combines two ao2_ref calls into 1.

Review: https://reviewboard.asterisk.org/r/1895/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@365068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-05-02 17:02:39 +00:00
..
2010-12-20 09:14:29 +00:00
2012-03-24 02:34:39 +00:00
2012-03-24 02:34:39 +00:00
2012-03-24 02:34:39 +00:00
2012-04-06 18:09:19 +00:00
2011-04-20 05:25:15 +00:00
2012-01-29 02:42:59 +00:00
2012-04-06 18:09:19 +00:00
2012-03-14 01:32:28 +00:00
2011-10-11 00:43:14 +00:00
2010-05-18 22:48:51 +00:00
2012-04-06 18:09:19 +00:00
2010-04-22 18:07:02 +00:00
2012-04-06 18:09:19 +00:00