diff options
Diffstat (limited to 'apps/app_echo.c')
-rw-r--r-- | apps/app_echo.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/app_echo.c b/apps/app_echo.c index 6110f5369..1420131df 100644 --- a/apps/app_echo.c +++ b/apps/app_echo.c @@ -55,9 +55,6 @@ static int echo_exec(struct ast_channel *chan, void *data) { int res = -1; int format; - struct ast_module_user *u; - - u = ast_module_user_add(chan); format = ast_best_codec(chan->nativeformats); ast_set_write_format(chan, format); @@ -81,7 +78,6 @@ static int echo_exec(struct ast_channel *chan, void *data) ast_frfree(f); } end: - ast_module_user_remove(u); return res; } |