--- apps/app_voicemail.c 2007-10-08 20:06:45.000000000 -0700 +++ apps/app_voicemail.c.orig 2007-10-08 20:06:41.000000000 -0700 @@ -3064,7 +3064,6 @@ if (txt) { if (duration < vmminmessage) { - fclose(txt); if (option_verbose > 2) ast_verbose( VERBOSE_PREFIX_3 "Recording was %d seconds long but needs to be at least %d - abandoning\n", duration, vmminmessage); ast_filedelete(tmptxtfile, NULL);