summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/write_flash_vpnor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/write_flash_vpnor.cpp b/test/write_flash_vpnor.cpp
index b9ba7ec..78b9ad8 100644
--- a/test/write_flash_vpnor.cpp
+++ b/test/write_flash_vpnor.cpp
@@ -263,5 +263,8 @@ int main(void)
fs::remove_all(fs::path {tmpPRSVdir});
fs::remove_all(fs::path {tmpPATCHdir});
+ destroy_vpnor(ctx);
+ free(ctx->flash_bmap);
+
return rc;
}
OpenPOWER on IntegriCloud