]> granicus.if.org Git - graphviz/commit
remove guards on calls to 'free'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 6 Nov 2021 00:09:15 +0000 (17:09 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 10 Nov 2021 14:46:50 +0000 (06:46 -0800)
commite7ecdc1be0b2a5bb8ec3b3f622a46a11f87d1d6c
tree5c6948d98ef1169f32dcdfd8ab37bb7c8273b1d0
parentbeab133b08ea422878395e19a9f35f5622b45b83
remove guards on calls to 'free'

It is a no-op to call `free(NULL)`, so we can rephrase this code into something
more concise and simple.
lib/edgepaint/edge_distinct_coloring.c
lib/expr/exparse.y
lib/neatogen/overlap.c
lib/sfdpgen/Multilevel.c
lib/sfdpgen/post_process.c
lib/sfdpgen/sfdpinit.c
lib/sfdpgen/spring_electrical.c
lib/sparse/DotIO.c
lib/sparse/LinkedList.c
lib/sparse/QuadTree.c
lib/sparse/SparseMatrix.c