Fix memory leak. (CID 1199373).

MFC after:	1 week
This commit is contained in:
Cy Schubert 2018-05-09 02:02:58 +00:00
parent 226a9d167b
commit 8d3478a26f

View File

@ -690,6 +690,7 @@ ipf_dstlist_node_del(softc, arg, op, uid)
err = COPYIN(op->iplo_struct, temp, size);
if (err != 0) {
IPFERROR(120027);
KFREES(temp, size);
return EFAULT;
}