diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-03-08 14:44:40 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-03-08 14:44:40 +0100 |
commit | d8a8a9cc7047fbb6f92f4b1fdfa5fa8ed4d90ac4 (patch) | |
tree | ca7b29ce72e69c9b98c830ecc64d24e228045a23 /BS/host/app.c | |
parent | 769b830d7b41e6d4eaec9945ffe1c9983596cb16 (diff) |
BS: avoid double free
Diffstat (limited to 'BS/host/app.c')
-rw-r--r-- | BS/host/app.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |