diff
 	if (io_data->read) {
 		kfree(io_data->to_free);
+ 		io_data->to_free = NULL;
 	}
 	ffs_free_buffer(io_data);
 	kfree(io_data);
