diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2024-02-02 10:54:20 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-02 10:54:20 -0600 |
| commit | 080054686fbfb30272106c5a18cf0f984cfb818f (patch) | |
| tree | a81917c97a0b409683f617e35c6cb1bcef5bd4c8 /zebra/zebra_rib.c | |
| parent | 22b79197bb32cfbe60ce76f63dc7ce93920328a3 (diff) | |
| parent | 0d638b7437769775f32d54779ae17c62d7a46150 (diff) | |
Merge pull request #15216 from donaldsharp/zebra_opaque_mem_leak
zebra: Fix opaque memory leak in rare situation
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 9e89e32d5d..5b95d8668a 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -2693,6 +2693,7 @@ static void early_route_memory_free(struct zebra_early_route *ere) if (ere->re_nhe) zebra_nhg_free(ere->re_nhe); + zapi_re_opaque_free(ere->re->opaque); XFREE(MTYPE_RE, ere->re); XFREE(MTYPE_WQ_WRAPPER, ere); } |
