summaryrefslogtreecommitdiff
path: root/src/graph_free.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph_free.c')
-rw-r--r--src/graph_free.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/graph_free.c b/src/graph_free.c
index e9c55d7..ee30c99 100644
--- a/src/graph_free.c
+++ b/src/graph_free.c
@@ -3,20 +3,17 @@
void graph_free(graph_t *g, cholmod_common *c) {
free(g->ev);
- if (g->ev_break != g->ev) {
- free(g->ev_break);
- }
free(g->vei);
free(g->ve);
- free(g->bound_inds);
- free(g->bound_verts);
+ free(g->bi);
+ free(g->b);
free(g->vx);
- free(g->ex);
- free(g->dev);
free(g->dvx);
+ free(g->dev);
free(g->dvei);
free(g->dve);
- free(g->spanning_edges);
+ free(g->nbi);
+ free(g->bq);
CHOL_F(free_sparse)(&(g->voltcurmat), c);
free(g);
}