]> granicus.if.org Git - graphviz/commit
remove unnecessary guards on calls to free()
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 22 Oct 2020 00:04:48 +0000 (17:04 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 29 Oct 2020 00:13:12 +0000 (17:13 -0700)
commite9f4a2c4b548b2e6c6efb209868c6715ed98e826
tree191530e5041c7308ce751aaf534574fe08d88ff6
parentbe5b95a007f402564ec1f375a6fe2df109d97b66
remove unnecessary guards on calls to free()

Freeing NULL is a no-op, so there is no need for these extra conditionals.
46 files changed:
cmd/gvmap/gvmap.c
cmd/lefty/common.c
cmd/lefty/txtview.c
cmd/tools/bcomps.c
cmd/tools/graphml2gv.c
cmd/tools/gv2gxl.c
cmd/tools/gvpack.c
cmd/tools/gxl2gv.c
lib/ast/pathpath.c
lib/common/emit.c
lib/common/htmlparse.y
lib/common/htmltable.c
lib/common/input.c
lib/common/labels.c
lib/common/psusershape.c
lib/common/shapes.c
lib/common/textspan.c
lib/common/types.h
lib/common/utils.c
lib/dotgen/aspect.c
lib/dotgen/dotinit.c
lib/fdpgen/layout.c
lib/glcomp/glcompfont.c
lib/glcomp/glcomplabel.c
lib/glcomp/glcomptext.c
lib/glcomp/glcomptexture.c
lib/glcomp/glutils.c
lib/gvc/gvconfig.c
lib/gvc/gvcontext.c
lib/gvc/gvevent.c
lib/gvc/gvjobs.c
lib/neatogen/adjust.c
lib/neatogen/delaunay.c
lib/neatogen/dijkstra.c
lib/neatogen/lu.c
lib/neatogen/neatoinit.c
lib/ortho/ortho.c
lib/osage/osageinit.c
lib/pathplan/cvt.c
lib/sfdpgen/PriorityQueue.c
lib/sfio/sfclose.c
lib/sfio/sfmode.c
lib/sfio/sfvprintf.c
lib/sfio/sfvscanf.c
plugin/gd/gvrender_gd.c
tclpkg/tclpathplan/tclpathplan.c