oss-fuzz: Fix memory leak in ofctl_parse_flow
If parse_ofp_flow_mod_str returns no error, ofputil_flow_mod.match
contains allocated memory that should be free. This patch fixes it.
Reported-at:
@@ -62,6 +62,7 @@ ofctl_parse_flow(const char *input, int command)
free(error);
} else {
ofctl_parse_flows__(&fm, 1, usable_protocols);
+ minimatch_destroy(&fm.match);
}
}
