diff options
-rw-r--r-- | src/gen_bpf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gen_bpf.c b/src/gen_bpf.c index 1b559b0..4e38c3c 100644 --- a/src/gen_bpf.c +++ b/src/gen_bpf.c @@ -1968,6 +1968,8 @@ struct bpf_program *gen_bpf_generate(const struct db_filter_col *col) rc = _gen_bpf_build_bpf(&state, col); if (rc == 0) state.bpf = NULL; + else + prgm = NULL; _state_release(&state); return prgm; |