From: David M. Lee Date: Fri, 2 Aug 2013 17:29:52 +0000 (+0000) Subject: Clean up ast_json with ast_json_unref X-Git-Tag: 13.0.0-beta1~1348 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=309d7e08f0842ffe6ae72324dcd2b290a6e3232a;p=thirdparty%2Fasterisk.git Clean up ast_json with ast_json_unref git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396143 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/stasis_bridges.c b/main/stasis_bridges.c index a3eeef675b..865134a83a 100644 --- a/main/stasis_bridges.c +++ b/main/stasis_bridges.c @@ -384,7 +384,7 @@ void ast_bridge_publish_enter(struct ast_bridge *bridge, struct ast_channel *cha 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));