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:
Laszlo Ersek 2014-03-03 08:40:44 +00:00 committed by jljusten
parent 99a6dce3c2
commit 847e4c3477
1 changed files with 5 additions and 0 deletions

View File

@ -522,6 +522,11 @@ QemuVideoControllerDriverStop (
Private->Handle
);
FreePool (Private->ModeData);
gBS->UninstallProtocolInterface (Private->Handle,
&gEfiDevicePathProtocolGuid, Private->GopDevicePath);
FreePool (Private->GopDevicePath);
//
// Free our instance data
//