]> granicus.if.org Git - graphviz/commit
fdpgen compoundEdges: fix memory leak
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 28 Dec 2022 22:45:30 +0000 (14:45 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 1 Jan 2023 00:32:15 +0000 (16:32 -0800)
commita24cb62fbf4532b0a038bb9ee7a5a2b526e41595
tree2ead23f3d2c740776254b8e5e05914dedebfb947
parent4ac347fa1b6448b888c259358b529e769516bccb
fdpgen compoundEdges: fix memory leak

When hitting either of the error conditions in the loop, the next iteration
would be begun without clearing or freeing the object list. The next call to
`objectList` would overwrite the still-allocated previous object list and it
would be lost.
lib/fdpgen/clusteredges.c