From: Matthew Fernandez Date: Thu, 17 Mar 2022 04:23:35 +0000 (-0700) Subject: edgepaint: free 'lightness' prior to exit X-Git-Tag: 4.0.0~166^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ddb4c7c5f954e9737928f2366fc06889e727e2b;p=graphviz edgepaint: free 'lightness' prior to exit Some small progress to becoming leak-free even on clean exit. --- 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); }