- smyrna: incorrect tokenization in frmobjectui.c:set_attr_object_type #2259
- [Dot] Record shape+UTF+" | "=Eats spaces. #925
- Memory leak in osage
+- Segmentation fault when running test example neatopack.c #1800
## [5.0.0] – 2022-07-07
gv_cleanup_node(n);
}
free(GD_neato_nlist(g));
- if (g != agroot(g))
- agclean (g,AGRAPH,"Agraphinfo_t");
}
}
if (g != agroot(g)) {
free_label (GD_label(g));
- agdelrec(g,"Agraphinfo_t");
}
}
cleanup_subgs(subg);
}
free (GD_clust(g));
- if (g != agroot(g))
- agdelrec(g, "Agraphinfo_t");
}
static void fdp_cleanup_graph(graph_t * g)
free_scan_graph(g);
free(GD_clust(g));
}
- if (g != agroot(g))
- agclean(g, AGRAPH , "Agraphinfo_t");
}
void neato_cleanup(graph_t * g)
static void patchwork_cleanup_graph(graph_t * g)
{
free(GD_neato_nlist(g));
- if (g != agroot(g))
- agclean(g, AGRAPH , "Agraphinfo_t");
}
void patchwork_cleanup(graph_t * g)
static void twopi_cleanup_graph(graph_t * g)
{
free(GD_neato_nlist(g));
- if (g != agroot(g))
- agclean(g,AGRAPH,"Agraphinfo_t");
}
/* twopi_cleanup:
CREATE_TEST(GVLayout_construction)
CREATE_TEST(GVLayout_render)
CREATE_TEST(neatopack)
-set_tests_properties(test_neatopack PROPERTIES WILL_FAIL true)
CREATE_TEST(simple)
CREATE_TEST(subgraphs)
libs = ["cgraph", "gvc"]
- # FIXME: Remove skip of execution of neatopack.c example when
- # https://gitlab.com/graphviz/graphviz/-/issues/1800 has been fixed
- if src == "neatopack.c":
- pytest.skip("Executing neatopack gives segmentation fault (#1800)")
-
# run the example
args = ["-Kneato"] if src in ["demo.c", "dot.c"] else []