clear edge->route when create

This commit is contained in:
c9s 2014-05-18 12:00:03 +08:00
parent a4481a8ecb
commit 7687dd3aef

View file

@ -65,6 +65,7 @@ edge * r3_edge_create(char * pattern, int pattern_len, node * child) {
e->pattern = pattern;
e->pattern_len = pattern_len;
e->child = child;
e->route = NULL;
return e;
}