mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/DriverSampleDxe: Uninstall the ConfigAccess protocol
In DriverSampleInit, has installed the configAccess protocol to the DriverHandle[1], but don't uninstall it in DriverSampleUnload. Now uninstall the configAccess protocol. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
This commit is contained in:
parent
763e8edf61
commit
41c244b6b9
|
@ -2278,6 +2278,8 @@ DriverSampleUnload (
|
|||
DriverHandle[1],
|
||||
&gEfiDevicePathProtocolGuid,
|
||||
&mHiiVendorDevicePath1,
|
||||
&gEfiHiiConfigAccessProtocolGuid,
|
||||
&mPrivateData->ConfigAccess,
|
||||
NULL
|
||||
);
|
||||
DriverHandle[1] = NULL;
|
||||
|
|
Loading…
Reference in New Issue