diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-06-26 19:17:27 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-06-26 19:17:27 +0000 |
commit | b2f99488c950c7e51114dedb7e50cf718f38e8d6 (patch) | |
tree | 8c37ed5814da9359b03ae10e2b476a0b6a496bb2 /apps/app_echo.c | |
parent | 718bca924b717fa10623022435f9b3533c617357 (diff) |
Version 0.1.9 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@338 f38db490-d61c-443f-a65b-d21fe96a405b
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; |