mirror of https://github.com/acidanthera/audk.git
Remove the RemoteEntryList() because the Task isn't added to the linked list upon failure.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> (based on FatPkg commit b9bcd0416e5f2da80fc386336228d61a865044aa) [jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD] Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Acked-by: Mark Doran <mark.doran@intel.com> Acked-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
9e710bc95e
commit
bd10d0712f
|
@ -80,7 +80,6 @@ Arguments:
|
|||
Subtask = CR (Link, FAT_SUBTASK, Link, FAT_SUBTASK_SIGNATURE);
|
||||
Link = FatDestroySubtask (Subtask);
|
||||
}
|
||||
RemoveEntryList (&Task->Link);
|
||||
FreePool (Task);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue