diff options
Diffstat (limited to 'bpf_parser.y')
-rw-r--r-- | bpf_parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpf_parser.y b/bpf_parser.y index 8aed9dc..003c031 100644 --- a/bpf_parser.y +++ b/bpf_parser.y @@ -810,7 +810,7 @@ int compile_filter(char *file, int verbose, int bypass, int format, free(labels_k[i]); } - if (yyin != stdin) + if (yyin && yyin != stdin) fclose(yyin); exit: |