Fix building.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2013-07-08 15:11:07 +00:00
parent 87973eecff
commit 7ee5b025f4

View File

@@ -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;