summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index af4e7f081..d99bced3d 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -6158,6 +6158,7 @@ static int msg_create_from_file(struct ast_vm_recording_data *recdata)
ast_log(LOG_ERROR,"Unable to determine sample rate of recording %s\n", recdata->recording_file);
}
}
+ ast_closeframe(recording_fs);
}
/* If the duration was below the minimum duration for the user, let's just drop the whole thing now */