Merge pull request #408 from 54shady/fix-task-free

Manually set task to null after free to avoid double free issue
This commit is contained in:
Ronnie Sahlberg
2024-05-30 07:47:24 +10:00
committed by GitHub

View File

@@ -80,6 +80,8 @@ scsi_free_scsi_task(struct scsi_task *task)
free(task->datain.data);
free(task);
task->datain.data = NULL;
task = NULL;
}
struct scsi_task *