diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2025-04-08 11:47:50 -0400 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2025-04-08 19:32:09 +0000 |
| commit | f1a18399fa91f431c4fdb952e9b55814fa04d771 (patch) | |
| tree | cc47909972014af26ca70690361ead42398777e5 /python/firstheader.py | |
| parent | 18716fecb975bd6fbfa7544a26971ea21fbb1b87 (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>
(cherry picked from commit b18c309015f3b91bc65af2f64ed3e6f845b855eb)
Diffstat (limited to 'python/firstheader.py')
0 files changed, 0 insertions, 0 deletions
