diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-04-03 18:27:33 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-04-04 01:28:06 +0000 |
commit | ae841c74e5d68fb66ecca48acde2b3d58ee889ee (patch) | |
tree | 121b0a6f06ba2102fba2e4b1a39b4bcea2af141a /epan/radius_dict.l | |
parent | 3ae229c8ed78960bced85286a5041a1552b9506c (diff) |
Don't double-close the input.
Change-Id: I3f02227f9cda2ad4c878e2a736923919e10fbf25
Reviewed-on: https://code.wireshark.org/review/14802
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/radius_dict.l')
-rw-r--r-- | epan/radius_dict.l | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/radius_dict.l b/epan/radius_dict.l index 86a8428f07..656086e59e 100644 --- a/epan/radius_dict.l +++ b/epan/radius_dict.l @@ -708,8 +708,10 @@ gboolean radius_load_dictionary (radius_dictionary_t* d, gchar* dir, const gchar Radius_lex(scanner); Radius_lex_destroy(scanner); - - fclose(in); + /* + * XXX - can the lexical analyzer terminate without closing + * all open input files? + */ for (i = 0; i < MAX_INCLUDE_DEPTH; i++) { if (state.fullpaths[i]) |