]> granicus.if.org Git - graphviz/commit
neatogen embed_graph: remove free of output parameter
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 22 Dec 2022 03:00:31 +0000 (19:00 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 25 Dec 2022 01:17:08 +0000 (17:17 -0800)
commit26d062aaf3947c6012aca90a59cec12f3b8475ee
treeae5bfb6292ce8b51a16f9a9b726e81ffe9072b2c
parentb5dd8323883c5294c64e4f4db3c61d36a227c994
neatogen embed_graph: remove free of output parameter

The only call into this function passes `NULL` for the `coords` parameter.
Additionally it did not make much sense to free this pointer on behalf of the
caller. This function is not designed to be called in a loop, so if the caller
wants their passed-in parameter freed they should do it themselves prior to
calling.
lib/neatogen/embed_graph.c