[asterisk-commits] jpeeler: branch jpeeler/issue18165 r294345 - /team/jpeeler/issue18165/main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Nov 8 17:25:24 CST 2010


Author: jpeeler
Date: Mon Nov  8 17:25:08 2010
New Revision: 294345

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=294345
Log:
add missing ref dec

Modified:
    team/jpeeler/issue18165/main/pbx.c

Modified: team/jpeeler/issue18165/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/team/jpeeler/issue18165/main/pbx.c?view=diff&rev=294345&r1=294344&r2=294345
==============================================================================
--- team/jpeeler/issue18165/main/pbx.c (original)
+++ team/jpeeler/issue18165/main/pbx.c Mon Nov  8 17:25:08 2010
@@ -2238,6 +2238,7 @@
 	if (hint) {
 		if (option_debug > 1)
 			ast_log(LOG_DEBUG, "HINTS: Not re-adding existing hint %s: %s\n", ast_get_extension_name(e), ast_get_extension_app(e));
+		ao2_ref(hint, -1);
 		return -1;
 	}
 




More information about the asterisk-commits mailing list