summaryrefslogtreecommitdiff
path: root/res/stasis
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2013-07-08 15:11:07 +0000
committerJoshua Colp <jcolp@digium.com>2013-07-08 15:11:07 +0000
commit7ee5b025f44656edae72ada703832fb093dcfde1 (patch)
tree2289a6cc22049f6dd519ec56b2a820b09b5754ac /res/stasis
parent87973eecffbf400da98b67eca1dbed038af40439 (diff)
Fix building.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/stasis')
-rw-r--r--res/stasis/control.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/res/stasis/control.c b/res/stasis/control.c
index 6a7a9ba4d..1fdcb8ded 100644
--- a/res/stasis/control.c
+++ b/res/stasis/control.c
@@ -209,9 +209,8 @@ int stasis_app_control_continue(struct stasis_app_control *control, const char *
char *stasis_app_control_get_channel_var(struct stasis_app_control *control, const char *variable)
{
- SCOPED_CHANNELLOCK(lockvar, control->channel);
-
RAII_VAR(struct ast_str *, tmp, ast_str_create(32), ast_free);
+ SCOPED_CHANNELLOCK(lockvar, control->channel);
if (!tmp) {
return NULL;