diff options
Diffstat (limited to 'apps/app_echo.c')
-rwxr-xr-x | apps/app_echo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/app_echo.c b/apps/app_echo.c index db1eb9e9a..669018ec2 100755 --- a/apps/app_echo.c +++ b/apps/app_echo.c @@ -31,8 +31,8 @@ static char *app = "Echo"; static char *synopsis = "Echo audio read back to the user"; static char *descrip = -" Echo(): Echo audio read from channel back to the channel. Returns 0\n" -" if the user exits with the '#' key, or -1 if the user hangs up.\n"; +" Echo(): Echo audio read from channel back to the channel. Returns 0\n" +"if the user exits with the '#' key, or -1 if the user hangs up.\n"; STANDARD_LOCAL_USER; @@ -57,6 +57,7 @@ static int echo_exec(struct ast_channel *chan, void *data) if (ast_write(chan, f)) break; } + ast_frfree(f); } LOCAL_USER_REMOVE(u); return res; |