Removed wrong call to zfree that caused a segfault.

This commit is contained in:
Omer Katz 2014-05-21 11:10:24 +03:00 committed by Omer Katz
parent 0e627e33d5
commit 18a92867fc
2 changed files with 2 additions and 1 deletions

View file

@ -74,7 +74,7 @@ node * r3_edge_branch(edge *e, int dl) {
char *op = e->pattern; char *op = e->pattern;
e->pattern = strndup(e->pattern, dl); e->pattern = strndup(e->pattern, dl);
e->pattern_len = dl; e->pattern_len = dl;
zfree(op);
return new_child; return new_child;
} }

View file

@ -440,3 +440,4 @@
1400607700,13972490.11 1400607700,13972490.11
1400655532,6648299.49 1400655532,6648299.49
1400655542,6685928.45 1400655542,6685928.45
1400659046,19754150.71

1 1400242718 5649455.80
440 1400607700 13972490.11
441 1400655532 6648299.49
442 1400655542 6685928.45
443 1400659046 19754150.71