Commit ed6287c1 authored by Kristof Provost's avatar Kristof Provost
Browse files

pf: remove pointless NULL check

pfi_kkif_attach() always returns non-NULL, and we dereference the
pointer before we check it, so that's pointless.

Reported by:	Coverity (CID 1007345)
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
parent 5727ecea
......@@ -563,8 +563,7 @@ pfi_dynaddr_setup(struct pf_addr_wrap *aw, sa_family_t af)
if (ruleset != NULL)
if (dyn->pfid_kif != NULL)
free(dyn, PFI_MTYPE);
return (rv);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment