[asterisk-commits] r365068 - svn:log

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 2 12:07:28 CDT 2012


Author: twilson
Revision: 365068
Modified property: svn:log

Modified: svn:log at Wed May  2 12:07:28 2012
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Wed May  2 12:07:28 2012
@@ -1,5 +1,10 @@
-Make rmudgett happy
+Don't leak a ref if out of memory and can't link the linkedid
 
-This patch is guaranteed to increase rmudgett's happiness by 20%.
+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/




More information about the asterisk-commits mailing list