Don't double-close the input.

Change-Id: I9b345ee28a59596369efac8bdd0a51447d723017
Reviewed-on: https://code.wireshark.org/review/14803
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2016-04-03 18:55:28 -07:00
parent ae841c74e5
commit c04721abba
1 changed files with 4 additions and 1 deletions

View File

@ -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));