]> granicus.if.org Git - graphviz/commit
remove GD_drawing(g) NULL guard
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 12 Jul 2022 13:15:50 +0000 (15:15 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 25 Jul 2022 18:24:49 +0000 (20:24 +0200)
commit8bedb84b1654d3bd58e8db481ec81bf43cf95f82
tree7ad18781d75a382658b864dbd36c6ca4856663cd
parent74b8351663b444e66e14b0a204ad22e1242ae436
remove GD_drawing(g) NULL guard

This guard is unnecessary since `graph_cleanup` alrady has the
necessary guards. This also ensures that the Agraphinfo_t record and
the graph's label is cleaned away even if the graph for some reason
doesn't have a drawing (can this ever happen?).
lib/gvc/gvlayout.c