Plug a memory leak in pfr_destroy_kentry
authormikeb <mikeb@openbsd.org>
Thu, 9 Apr 2015 12:04:14 +0000 (12:04 +0000)
committermikeb <mikeb@openbsd.org>
Thu, 9 Apr 2015 12:04:14 +0000 (12:04 +0000)
commit1faf2f7865ed890ac37927d695b0045b8562d38a
tree1ea691c6ea90ad8127bf488c14f0c8f2cf004eb0
parent2c739b87c6e85d71bf605f818e970c9c53db2a12
Plug a memory leak in pfr_destroy_kentry

pfi_kif objects allocated for table entries created by route-to or
by specifying weight weren't garbage collected when the table entry
was destroyed.

Spotted by Alexandr Nedvedicky <alexandr ! nedvedicky at oracle ! com>,
thanks!  Ok henning, florian
sys/net/pf_table.c