From d8a8a9cc7047fbb6f92f4b1fdfa5fa8ed4d90ac4 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 8 Mar 2024 14:44:40 +0100 Subject: BS: avoid double free --- BS/host/app.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'BS/host/app.c') diff --git a/BS/host/app.c b/BS/host/app.c index 4f73788..928bb8c 100644 --- a/BS/host/app.c +++ b/BS/host/app.c @@ -339,7 +339,9 @@ int main(int argc, char **argv) { #endif free(input); +#if !WITH_ALLOC_OVERHEAD DPU_ASSERT(dpu_free(dpu_set)); +#endif return 0; } -- cgit v1.2.3