diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2025-04-08 11:47:50 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2025-04-08 11:47:50 -0400 |
| commit | b18c309015f3b91bc65af2f64ed3e6f845b855eb (patch) | |
| tree | 123debc3e64d1af84839830be6a8ee67a8e0b164 /ospfclient/ospfclient.c | |
| parent | 53a8868331e662a0785a0cbcdd452b4f1017d534 (diff) | |
bgpd: On shutdown free up memory leak found by topotest
This commit fixes two types of problems:
a) Avoidance of cleaning up memory when a instance is
hidden, thus causing it never to be freed on shutdown
b) In some instances bgp_create is called 2 times
for some code. We are double allocating memory
and dropping it on the second allocation.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfclient/ospfclient.c')
0 files changed, 0 insertions, 0 deletions
