aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_verbose.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_verbose.c')
-rwxr-xr-xapps/app_verbose.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/app_verbose.c b/apps/app_verbose.c
index e23bf1a06..3ff50bedc 100755
--- a/apps/app_verbose.c
+++ b/apps/app_verbose.c
@@ -56,6 +56,9 @@ static int verbose_exec(struct ast_channel *chan, void *data)
{
char *vtext;
int vsize;
+ struct localuser *u;
+
+ LOCAL_USER_ADD(u);
if (data) {
vtext = ast_strdupa((char *)data);
@@ -93,6 +96,8 @@ static int verbose_exec(struct ast_channel *chan, void *data)
}
}
+ LOCAL_USER_REMOVE(u);
+
return 0;
}