Fix memory leak. (CID 1199373).

MFC after:	1 week
This commit is contained in:
cy 2018-05-09 02:02:58 +00:00
parent d4c9767f0a
commit 9890e954c6

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;
}