From b6c6b86b0e9d9a03d671afe734975b8e398df269 Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Fri, 4 Sep 2009 19:32:48 +0000 Subject: [PATCH] Merged revisions 216593 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r216593 | seanbright | 2009-09-04 15:29:02 -0400 (Fri, 04 Sep 2009) | 1 line Use ast_free() instead of free(). ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216596 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 39f1059fc3..9c5a8949da 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -2228,7 +2228,7 @@ static struct ast_vm_user *find_user_realtime_imapuser(const char *imapuser) ast_variables_destroy(var); return vmu; } else { - free(vmu); + ast_free(vmu); return NULL; } } -- 2.47.2