CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2010/06/04 05:05:13

Modified files:
        sys/net        : route.c 

Log message:
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@

Reply via email to