mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 08:04:07 +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
|
NULL
|
||||||
);
|
);
|
||||||
if (AttemptConfigData->AttemptTitleToken == 0) {
|
if (AttemptConfigData->AttemptTitleToken == 0) {
|
||||||
return;
|
goto Exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
HiiCreateGotoOpCode (
|
HiiCreateGotoOpCode (
|
||||||
@ -1940,6 +1940,7 @@ IScsiConfigUpdateAttempt (
|
|||||||
EndOpCodeHandle // Replace data
|
EndOpCodeHandle // Replace data
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Exit:
|
||||||
HiiFreeOpCodeHandle (StartOpCodeHandle);
|
HiiFreeOpCodeHandle (StartOpCodeHandle);
|
||||||
HiiFreeOpCodeHandle (EndOpCodeHandle);
|
HiiFreeOpCodeHandle (EndOpCodeHandle);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user