summaryrefslogtreecommitdiff
path: root/ufo/ufo-graph.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-03-16 09:30:18 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-03-16 09:30:18 +0100
commitb5518536ee41dd1cdf2dea6228bb67f46615649f (patch)
tree4bbc5cf546370855367d64fd984d32ed59058f5c /ufo/ufo-graph.c
parentc1431313f6551af4245b7f14fb62f5af945e8bdb (diff)
Revert "Fix reference leakage"
This reverts commit 86653b1d59e017550a48a25faf136b7de5064a1e. In a Python context the copies are accessed by the garbage collector and will cause nasty messages.
Diffstat (limited to 'ufo/ufo-graph.c')
-rw-r--r--ufo/ufo-graph.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ufo/ufo-graph.c b/ufo/ufo-graph.c
index 434269e..ff5b4e7 100644
--- a/ufo/ufo-graph.c
+++ b/ufo/ufo-graph.c
@@ -787,7 +787,6 @@ ufo_graph_expand (UfoGraph *graph,
label = ufo_graph_get_edge_label (graph, orig, next);
ufo_graph_connect_nodes (graph, current, copy, label);
graph->priv->copies = g_list_append (graph->priv->copies, copy);
- graph->priv->copies = g_list_append (graph->priv->copies, next);
current = copy;
}
else {