diff options
-rw-r--r-- | apps/app_voicemail.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 6311263a4..86724f3f2 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -15182,6 +15182,7 @@ static int play_record_review(struct ast_channel *chan, char *playfile, char *re } else { ast_play_and_wait(chan, "vm-deleted"); DELETE(tempfile, -1, tempfile, vmu); + DISPOSE(tempfile, -1); cmd = '0'; } } |