]> granicus.if.org Git - graphviz/commitdiff
edgepaint: free 'lightness' prior to exit
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 17 Mar 2022 04:23:35 +0000 (21:23 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 24 Mar 2022 15:36:53 +0000 (08:36 -0700)
Some small progress to becoming leak-free even on clean exit.

cmd/edgepaint/edgepaintmain.c

index 7bc307cdf7df43103ed9eee660e66fe81cad8a6c..f85b797dc1ee7cd38b01a726027f1a3956965a1e 100644 (file)
@@ -309,5 +309,7 @@ int main(int argc, char *argv[])
                }
        }
 
+       free(lightness);
+
        graphviz_exit(rv);
 }