This fixes a memory leak detected by ASan in the test_clusters test,
which now runs without failures
- Memory leak in osage
- Segmentation fault when running test example neatopack.c #1800
- Memory leak in dot when using clusters
+- Memory leak in patchwork when using clusters
## [5.0.0] – 2022-07-07
static void patchwork_cleanup_graph(graph_t * g)
{
free(GD_neato_nlist(g));
+ free(GD_clust(g));
}
void patchwork_cleanup(graph_t * g)
CREATE_TEST(AGraph_construction)
CREATE_TEST(clusters)
-set_tests_properties(test_clusters PROPERTIES WILL_FAIL true)
CREATE_TEST(engines)
CREATE_TEST(GVContext_construction)
CREATE_TEST(GVContext_render_svg)