Skip to content
Snippets Groups Projects
Commit 309d7e08 authored by David M. Lee's avatar David M. Lee
Browse files

Clean up ast_json with ast_json_unref

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 85fb0e61
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment