summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorBJ Weschke <bweschke@btwtech.com>2006-05-09 13:33:54 +0000
committerBJ Weschke <bweschke@btwtech.com>2006-05-09 13:33:54 +0000
commitafa37c019434f46f3620e0c58360de23c98dc12b (patch)
tree0442a6656c167a3ff75fff5481d4a766f2dc94a0 /apps
parent14ddd6c4315c5b08c58ac253a0280ddc259395ca (diff)
Merged revisions 26050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r26050 | bweschke | 2006-05-09 08:28:39 -0500 (Tue, 09 May 2006) | 3 lines Correct memory leak in find_user_realtime #7118 (fnordian) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index f9ba86965..063eff45b 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -586,6 +586,7 @@ static struct ast_vm_user *find_user_realtime(struct ast_vm_user *ivm, const cha
apply_option(retval, tmp->name, tmp->value);
tmp = tmp->next;
}
+ ast_variables_destroy(var);
} else {
if (!ivm)
free(retval);