diff options
author | Saar Amar <saaramar5@gmail.com> | 2016-10-30 23:07:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-30 23:07:27 +0300 |
commit | b1f6461c0c212f8e82aeacbfd5ba44b2a3be38e4 (patch) | |
tree | c31e1565e1e3b4f97e28e13cb73f3e14a4e71362 | |
parent | dfdb01a1a9697a6a48fae9ea17fdc0c59585728c (diff) |
Fix memory leak in ShvVpLoadCallback
-rw-r--r-- | shvvp.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -224,9 +224,11 @@ ShvVpLoadCallback ( _In_ PSHV_CALLBACK_CONTEXT Context ) { - PSHV_VP_DATA vpData = NULL; + PSHV_VP_DATA vpData; INT32 status; + vpData = NULL; + // // Detect if the hardware appears to support VMX root mode to start. // No attempts are made to enable this if it is lacking or disabled. |