commit | a3ee120fcf2b2b205e3e15f544eb4090653e7bff | [log] [tgz] |
---|---|---|
author | David Lamparter <equinox@opensourcerouting.org> | Wed Dec 16 19:38:23 2015 +0100 |
committer | Paul Jakma <paul.jakma@hpe.com> | Tue Mar 08 17:53:22 2016 +0000 |
tree | 695c9f4c16934d2621736ef73bed6ee46b58a32c | |
parent | 370b7e59170acf853ca3357c71dd5ab0d85e763c [diff] |
lib: fix vrf_bitmap leak in zclient_free() zclient_stop(), which is used as antagonist to zclient_init(), needs to undo the vrf_bitmap allocation. Otherwise zclient_init() will leak the allocated memory, for example when zclient_reset() is used. Reported-by: Lou Berger <lberger@labn.net> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>