From c04721abbaafb5d784f1f5ffbd85a3e6f2a6b39b Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 3 Apr 2016 18:55:28 -0700 Subject: Don't double-close the input. Change-Id: I9b345ee28a59596369efac8bdd0a51447d723017 Reviewed-on: https://code.wireshark.org/review/14803 Reviewed-by: Guy Harris --- plugins/wimaxasncp/wimaxasncp_dict.l | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/wimaxasncp/wimaxasncp_dict.l b/plugins/wimaxasncp/wimaxasncp_dict.l index c34f413154..be48324d4c 100644 --- a/plugins/wimaxasncp/wimaxasncp_dict.l +++ b/plugins/wimaxasncp/wimaxasncp_dict.l @@ -733,7 +733,10 @@ wimaxasncp_dict_t *wimaxasncp_dict_scan( WimaxasncpDict_lex(scanner); WimaxasncpDict_lex_destroy(scanner); - fclose(in); + /* + * XXX - can the lexical analyzer terminate without closing + * all open input files? + */ D(("\n---------------\n%s\n------- %d -------\n", state.strbuf, state.len_strbuf)); -- cgit v1.2.3