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:
parent
ae841c74e5
commit
c04721abba
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue