diff options
author | Laszlo Ersek <lersek@redhat.com> | 2014-03-03 08:40:44 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-03-03 08:40:44 +0000 |
commit | 847e4c3477d3ecb7362c3b31fe9889384557e8ae (patch) | |
tree | b74ce0da182590d3c163f48b2332a4279c9cecac | |
parent | 99a6dce3c2abd348bba7ae62e25488a2381369f7 (diff) | |
download | edk2-847e4c3477d3ecb7362c3b31fe9889384557e8ae.tar.gz edk2-847e4c3477d3ecb7362c3b31fe9889384557e8ae.tar.bz2 edk2-847e4c3477d3ecb7362c3b31fe9889384557e8ae.zip |
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
-rw-r--r-- | OvmfPkg/QemuVideoDxe/Driver.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OvmfPkg/QemuVideoDxe/Driver.c b/OvmfPkg/QemuVideoDxe/Driver.c index 48a788f6f8..e71af6e850 100644 --- a/OvmfPkg/QemuVideoDxe/Driver.c +++ b/OvmfPkg/QemuVideoDxe/Driver.c @@ -522,6 +522,11 @@ QemuVideoControllerDriverStop ( Private->Handle
);
+ FreePool (Private->ModeData);
+ gBS->UninstallProtocolInterface (Private->Handle,
+ &gEfiDevicePathProtocolGuid, Private->GopDevicePath);
+ FreePool (Private->GopDevicePath);
+
//
// Free our instance data
//
|