From 3eee1dbb9bf4700eaa17e705cb76adb3f9dbd63f Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Fri, 5 Dec 2008 16:04:36 +0000 Subject: [PATCH] Use ast_free() instead of free(), pointed out by eliel on IRC. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@161350 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 333e38a74e..47f1a8411d 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -10126,7 +10126,7 @@ static char *substitute_escapes(const char *value) } result = ast_strdup(str->str); - free(str); + ast_free(str); return result; }