]> granicus.if.org Git - graphviz/commit
prune: replace allocations with cgraph wrappers
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Nov 2022 15:54:38 +0000 (08:54 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 10 Nov 2022 04:47:23 +0000 (20:47 -0800)
commitf8f7e0a9e570e06978410f8e6e81d33943afd5f7
tree49dc212def84c518da1da6a5fe8d47c387b22d91
parentfaa9bfa47976d9cbc74af2f8f7b2f17139b34964
prune: replace allocations with cgraph wrappers

This application has no ability to handle allocation failures. For example,
allocation failure during adding an attribute would result in setting
`attr_list` to null which would then go on to crash the program. Lets stop
pretending `prune` handles these cases and just exit on allocation failure.
contrib/prune/generic_list.c
contrib/prune/prune.c