diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-11-16 00:00:00 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-11-16 12:42:32 +0300 |
| commit | 9742796ff1b34699297b64c72b31a27fbafd23b0 (patch) | |
| tree | 2e91d827eab21a8f3cff4da6c5233f316e749b95 /lib/link_state.c | |
| parent | de48804c01e077a54b4a46221c433c33abc4e334 (diff) | |
zebra: fix memleak on shutdown
During shutdown, when table_manager_disable is called for the default
VRF, its vrf_id is already set to VRF_UNKNOWN, so the expression is true
and the table manager memory is not freed. Change the expression to
compare the VRF name instead of the id. The check in table_manager_enable
is changed for consistency.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/link_state.c')
0 files changed, 0 insertions, 0 deletions
