diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-08-13 18:00:30 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-08-13 18:00:30 +0300 |
| commit | 1e288c9b559c186ce1a4765997b36ec4a9f3fbf5 (patch) | |
| tree | 1d1eda0c4806ae1c8fbe7d42c2d6564f73c09503 /zebra/zebra_rnh.c | |
| parent | 423e8076b53fe359f83575c5f2d8b80741d592b5 (diff) | |
zebra: Do not forget to free opaque data for route entry
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_rnh.c')
| -rw-r--r-- | zebra/zebra_rnh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index bff8258879..303a81bb3e 100644 --- a/zebra/zebra_rnh.c +++ b/zebra/zebra_rnh.c @@ -826,7 +826,7 @@ static void free_state(vrf_id_t vrf_id, struct route_entry *re, /* free RE and nexthops */ zebra_nhg_free(re->nhe); - XFREE(MTYPE_RE, re); + zebra_rib_route_entry_free(re); } static void copy_state(struct rnh *rnh, const struct route_entry *re, |
