summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/pol
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/normal/pol')
-rw-r--r--src/ipcpd/normal/pol/graph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipcpd/normal/pol/graph.c b/src/ipcpd/normal/pol/graph.c
index eade23e0..a0af19f9 100644
--- a/src/ipcpd/normal/pol/graph.c
+++ b/src/ipcpd/normal/pol/graph.c
@@ -537,6 +537,7 @@ static int graph_routing_table_simple(struct graph * graph,
free_routing_table(table);
free(nhops);
fail_vertices:
+ *dist = NULL;
return -1;
}