diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2015-12-16 19:38:23 +0100 |
---|---|---|
committer | Paul Jakma <paul.jakma@hpe.com> | 2016-03-08 17:53:22 +0000 |
commit | a3ee120fcf2b2b205e3e15f544eb4090653e7bff (patch) | |
tree | 695c9f4c16934d2621736ef73bed6ee46b58a32c /lib/thread.c | |
parent | 370b7e59170acf853ca3357c71dd5ab0d85e763c (diff) | |
download | quagga-a3ee120fcf2b2b205e3e15f544eb4090653e7bff.tar.bz2 quagga-a3ee120fcf2b2b205e3e15f544eb4090653e7bff.tar.xz |
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>
Diffstat (limited to 'lib/thread.c')
0 files changed, 0 insertions, 0 deletions