aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_realtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_realtime.c')
-rwxr-xr-xapps/app_realtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_realtime.c b/apps/app_realtime.c
index 03236e8cb..d0895f411 100755
--- a/apps/app_realtime.c
+++ b/apps/app_realtime.c
@@ -185,7 +185,7 @@ static int realtime_exec(struct ast_channel *chan, void *data)
pbx_builtin_setvar_helper(chan, vname, itt->value);
}
- ast_destroy_realtime(var);
+ ast_variables_destroy(var);
} else if (option_verbose > 3)
ast_verbose(VERBOSE_PREFIX_4"No Realtime Matches Found.\n");
}