commit af792ebe99c6301fb5b5436f856b9589ad0fd5ea
Author: Laslo Hunhold <[email protected]>
AuthorDate: Mon May 29 22:21:57 2023 +0200
Commit: Laslo Hunhold <[email protected]>
CommitDate: Mon May 29 22:21:57 2023 +0200
Free generated mirror-LUT data structures to avoid memory leak
This is a technicality, but this satisfies the clang dynamic memory
analyzer.
Signed-off-by: Laslo Hunhold <[email protected]>
diff --git a/gen/bidirectional.c b/gen/bidirectional.c
index 3dd034e..b4a4fb7 100644
--- a/gen/bidirectional.c
+++ b/gen/bidirectional.c
@@ -499,5 +499,10 @@ main(int argc, char *argv[])
mm_mirror.minorlen, get_value,
comp_mirror.data);
+ free(comp_mirror.data);
+ free(comp_mirror.offset);
+ free(mm_mirror.major);
+ free(mm_mirror.minor);
+
return 0;
}