change dont automatically free the scsi_task once the callback completes.
Freeing the scsi_task structure is the responsibility of the application to either do so during the callback, or later.
This commit is contained in:
@@ -156,7 +156,6 @@ scsi_sync_cb(struct iscsi_context *iscsi _U_, int status, void *command_data,
|
||||
state->status = status;
|
||||
state->finished = 1;
|
||||
state->task = task;
|
||||
iscsi_cbdata_steal_scsi_task(task);
|
||||
}
|
||||
|
||||
struct scsi_task *
|
||||
|
||||
Reference in New Issue
Block a user