summaryrefslogtreecommitdiff
path: root/MokManager.c
diff options
context:
space:
mode:
Diffstat (limited to 'MokManager.c')
-rw-r--r--MokManager.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/MokManager.c b/MokManager.c
index 039a7474..20db532f 100644
--- a/MokManager.c
+++ b/MokManager.c
@@ -916,6 +916,10 @@ out:
FreePool(old_data);
}
+ if (new_data != NULL) {
+ FreePool(new_data);
+ }
+
return status;
}