Use ast_free() instead of free(), pointed out by eliel on IRC.
authorSean Bright <sean@malleable.com>
Fri, 5 Dec 2008 16:04:36 +0000 (16:04 +0000)
committerSean Bright <sean@malleable.com>
Fri, 5 Dec 2008 16:04:36 +0000 (16:04 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@161350 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 333e38a..47f1a84 100644 (file)
@@ -10126,7 +10126,7 @@ static char *substitute_escapes(const char *value)
        }
 
        result = ast_strdup(str->str);
-       free(str);
+       ast_free(str);
 
        return result;
 }