Introduction
Introduction Statistics Contact Development Disclaimer Help
Free generated mirror-LUT data structures to avoid memory leak - libgrapheme - …
git clone git://git.suckless.org/libgrapheme
Log
Files
Refs
README
LICENSE
---
commit af792ebe99c6301fb5b5436f856b9589ad0fd5ea
parent 719d805b28b9e34d5f5e83fcbdb0fbb41c20ec6d
Author: Laslo Hunhold <[email protected]>
Date: Mon, 29 May 2023 22:21:57 +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]>
Diffstat:
M gen/bidirectional.c | 5 +++++
1 file changed, 5 insertions(+), 0 deletions(-)
---
diff --git 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;
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.