Remove extra free of testmode

I added a jv_free() too many while rebasing @wtlangford's contribution.
It could only be triggered by calling `_match_impl` directly.
This commit is contained in:
Nicolas Williams committed 2014-06-18 21:11:06 -05:00
1 parent 8ff935c01a
commit ff5cf0abc7
1 file changed
-1
-1
View File
@@ -541,7 +541,6 @@ static jv f_match(jv input, jv regex, jv modifiers, jv testmode) {
OnigErrorInfo einfo;
OnigRegion* region;
jv_free(testmode);
if (jv_get_kind(input) != JV_KIND_STRING) {
jv_free(regex);
jv_free(modifiers);