From 40d83cf7484820d028dc7ea149fbb32362a129ce Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Fri, 4 Sep 2009 19:29:02 +0000 Subject: [PATCH] Use ast_free() instead of free(). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@216593 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 7cfbf1b58e..a61af0ef05 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -2357,7 +2357,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; } }