mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
NetworkPkg/IScsiDxe: fix HiiOpCodeHandle leak
Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
This commit is contained in:
parent
b1cdfc556f
commit
e8cfc7beba
@ -1918,7 +1918,7 @@ IScsiConfigUpdateAttempt (
|
||||
NULL
|
||||
);
|
||||
if (AttemptConfigData->AttemptTitleToken == 0) {
|
||||
return;
|
||||
goto Exit;
|
||||
}
|
||||
|
||||
HiiCreateGotoOpCode (
|
||||
@ -1940,6 +1940,7 @@ IScsiConfigUpdateAttempt (
|
||||
EndOpCodeHandle // Replace data
|
||||
);
|
||||
|
||||
Exit:
|
||||
HiiFreeOpCodeHandle (StartOpCodeHandle);
|
||||
HiiFreeOpCodeHandle (EndOpCodeHandle);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user