[asterisk-commits] mjordan: trunk r395089 - /trunk/main/cdr.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 22 19:17:00 CDT 2013


Author: mjordan
Date: Mon Jul 22 19:16:59 2013
New Revision: 395089

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395089
Log:
Fix unbalanced lock when serializing CDR variables

I'm only surprised that this didn't cause larger problems.

Modified:
    trunk/main/cdr.c

Modified: trunk/main/cdr.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/cdr.c?view=diff&rev=395089&r1=395088&r2=395089
==============================================================================
--- trunk/main/cdr.c (original)
+++ trunk/main/cdr.c Mon Jul 22 19:16:59 2013
@@ -3054,7 +3054,7 @@
 			total++;
 		}
 	}
-
+	ao2_unlock(cdr);
 	return total;
 }
 




More information about the asterisk-commits mailing list