another missing fclose()