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; }