diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2010-06-04 11:05:14 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2010-06-04 11:05:14 +0000 |
commit | 7ced78518218c245a76b1de71172d60b380ed65f (patch) | |
tree | c5a29866e452a0e78cd2fd20aaa37f834917cffa /usr.sbin/rmt | |
parent | 799fb4c4bf66d9860e42162af18bd11b95bbe795 (diff) |
rt_timer_queue_destroy() did not actually destroy, leading to a potential
memory leak due to misleading nomenclature. Change it to actually destroy,
not just clean, the the rt_timer_queue passed to it and adjust the correct
caller accordingly (i.e., no need to free the mem on our own now).
As a bonus, this gets rid of one of the ridiculous R_Malloc/Bzero/Free
cycles, and lets us sneak another bzero -> M_ZERO conversion in.
ok claudio@
Diffstat (limited to 'usr.sbin/rmt')
0 files changed, 0 insertions, 0 deletions