projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85fb0e6
)
Clean up ast_json with ast_json_unref
author
David M. Lee
<dlee@digium.com>
Fri, 2 Aug 2013 17:29:52 +0000
(17:29 +0000)
committer
David M. Lee
<dlee@digium.com>
Fri, 2 Aug 2013 17:29:52 +0000
(17:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396143
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/stasis_bridges.c
patch
|
blob
|
history
diff --git
a/main/stasis_bridges.c
b/main/stasis_bridges.c
index
a3eeef6
..
865134a
100644
(file)
--- 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));