[asterisk-commits] dlee: trunk r396143 - /trunk/main/stasis_bridges.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 2 12:29:53 CDT 2013


Author: dlee
Date: Fri Aug  2 12:29:52 2013
New Revision: 396143

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=396143
Log:
Clean up ast_json with ast_json_unref

Modified:
    trunk/main/stasis_bridges.c

Modified: trunk/main/stasis_bridges.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/stasis_bridges.c?view=diff&rev=396143&r1=396142&r2=396143
==============================================================================
--- trunk/main/stasis_bridges.c (original)
+++ trunk/main/stasis_bridges.c Fri Aug  2 12:29:52 2013
@@ -384,7 +384,7 @@
 		struct ast_channel *swap)
 {
 	RAII_VAR(struct stasis_message *, msg, NULL, ao2_cleanup);
-	RAII_VAR(struct ast_json *, blob, NULL, ao2_cleanup);
+	RAII_VAR(struct ast_json *, blob, NULL, ast_json_unref);
 
 	if (swap) {
 		blob = ast_json_pack("{s: s}", "swap", ast_channel_uniqueid(swap));




More information about the asterisk-commits mailing list