mirror of https://github.com/acidanthera/audk.git
OvmfPkg: QemuVideoDxe: plug remaining leaks in Stop()
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15285 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
99a6dce3c2
commit
847e4c3477
|
@ -522,6 +522,11 @@ QemuVideoControllerDriverStop (
|
|||
Private->Handle
|
||||
);
|
||||
|
||||
FreePool (Private->ModeData);
|
||||
gBS->UninstallProtocolInterface (Private->Handle,
|
||||
&gEfiDevicePathProtocolGuid, Private->GopDevicePath);
|
||||
FreePool (Private->GopDevicePath);
|
||||
|
||||
//
|
||||
// Free our instance data
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue