[svn-commits] mjordan: branch group/media_formats-reviewed-trunk r418436 - /team/group/medi...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jul 11 21:18:02 CDT 2014


Author: mjordan
Date: Fri Jul 11 21:17:57 2014
New Revision: 418436

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=418436
Log:
translate: Fix leak of codecs in CLI command

Modified:
    team/group/media_formats-reviewed-trunk/main/translate.c

Modified: team/group/media_formats-reviewed-trunk/main/translate.c
URL: http://svnview.digium.com/svn/asterisk/team/group/media_formats-reviewed-trunk/main/translate.c?view=diff&rev=418436&r1=418435&r2=418436
==============================================================================
--- team/group/media_formats-reviewed-trunk/main/translate.c (original)
+++ team/group/media_formats-reviewed-trunk/main/translate.c Fri Jul 11 21:17:57 2014
@@ -944,6 +944,7 @@
 
 			if (k > 0) {
 				curlen = strlen(col->name);
+				ao2_ref(col, -1);
 				continue;
 			}
 




More information about the svn-commits mailing list