diff options
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 8afa70a73..bb1366bad 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -10191,6 +10191,8 @@ static const char *substitute_escapes(const char *value) /* Add 16 for fudge factor */ struct ast_str *str = ast_str_thread_get(&global_app_buf, strlen(value) + 16); + ast_str_reset(str); + /* Substitute strings \r, \n, and \t into the appropriate characters */ for (current = (char *) value; *current; current++) { if (*current == '\\') { |