diff --git a/src/edge.c b/src/edge.c index dedd6a0..32ce06d 100644 --- a/src/edge.c +++ b/src/edge.c @@ -74,7 +74,7 @@ node * r3_edge_branch(edge *e, int dl) { char *op = e->pattern; e->pattern = strndup(e->pattern, dl); e->pattern_len = dl; - zfree(op); + return new_child; } diff --git a/tests/bench_str.csv b/tests/bench_str.csv index 603fd34..22df891 100644 --- a/tests/bench_str.csv +++ b/tests/bench_str.csv @@ -440,3 +440,4 @@ 1400607700,13972490.11 1400655532,6648299.49 1400655542,6685928.45 +1400659046,19754150.71