From: Joshua Colp Date: Mon, 8 Jul 2013 15:11:07 +0000 (+0000) Subject: Fix building. X-Git-Tag: 13.0.0-beta1~1532 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ee5b025f44656edae72ada703832fb093dcfde1;p=thirdparty%2Fasterisk.git Fix building. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393807 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/stasis/control.c b/res/stasis/control.c index 6a7a9ba4d5..1fdcb8dedf 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;