From 6ddb4c7c5f954e9737928f2366fc06889e727e2b Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 16 Mar 2022 21:23:35 -0700 Subject: [PATCH] edgepaint: free 'lightness' prior to exit Some small progress to becoming leak-free even on clean exit. --- cmd/edgepaint/edgepaintmain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/edgepaint/edgepaintmain.c b/cmd/edgepaint/edgepaintmain.c index 7bc307cdf..f85b797dc 100644 --- a/cmd/edgepaint/edgepaintmain.c +++ b/cmd/edgepaint/edgepaintmain.c @@ -309,5 +309,7 @@ int main(int argc, char *argv[]) } } + free(lightness); + graphviz_exit(rv); } -- 2.40.0