From afa37c019434f46f3620e0c58360de23c98dc12b Mon Sep 17 00:00:00 2001 From: BJ Weschke <bweschke@btwtech.com> Date: Tue, 9 May 2006 13:33:54 +0000 Subject: [PATCH] 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 --- apps/app_voicemail.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index f9ba869654..063eff45bb 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); -- GitLab