diff options
author | David Ruggles <thedavidfactor@gmail.com> | 2011-03-04 01:52:21 +0000 |
---|---|---|
committer | David Ruggles <thedavidfactor@gmail.com> | 2011-03-04 01:52:21 +0000 |
commit | 3cda82a379fc3714ea82cb45ee10c9aae0094242 (patch) | |
tree | 3ee7dd61a9a0727ee648bca11f9e457077fd5c90 /apps/app_externalivr.c | |
parent | a7bfa104728212a4c0ee61bf5ddf4f0a9415ede0 (diff) |
Merged revisions 309403 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
................
r309403 | diruggles | 2011-03-03 20:50:44 -0500 (Thu, 03 Mar 2011) | 23 lines
Merged revisions 309356 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r309356 | diruggles | 2011-03-03 19:42:28 -0500 (Thu, 03 Mar 2011) | 16 lines
Merged revisions 309355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r309355 | diruggles | 2011-03-03 19:34:13 -0500 (Thu, 03 Mar 2011) | 9 lines
fix small memory leak
fix small memory leak caused by a string allocation that wasn't freed
(closes issue #18907)
Reported by: andy11
Patches:
asterisk_trunk-app_externalivr-leak.patch uploaded by andy11 (license 1224)
........
................
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@309404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_externalivr.c')
-rw-r--r-- | apps/app_externalivr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_externalivr.c b/apps/app_externalivr.c index 0856ffe67..258a1e5c7 100644 --- a/apps/app_externalivr.c +++ b/apps/app_externalivr.c @@ -162,6 +162,7 @@ static void send_eivr_event(FILE *handle, const char event, const char *data, fprintf(handle, "%s\n", ast_str_buffer(tmp)); ast_debug(1, "sent '%s'\n", ast_str_buffer(tmp)); + ast_free(tmp); } static void *gen_alloc(struct ast_channel *chan, void *params) |