When filewriter_init failed due to full disk, error branch freed messages twice. Removed unnecessary free command.