diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2024-08-30 09:05:11 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2024-09-01 13:07:46 -0400 |
| commit | d97c535c1e11904585b97da894d49b766b2d270a (patch) | |
| tree | 5dea632b43d39fdaa3384563913ad8abec168fbb /pimd/pim6_mld.c | |
| parent | a556f6e38b404ae1b90a52b23e5afacd64ab4d45 (diff) | |
*: Create termtable specific temp memory
When trying to track down a MTYPE_TMP memory leak
it's harder to search for it when you happen to
have some usage of ttable_dump. Let's just give
it it's own memory type so that we can avoid
confusion in the future.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pimd/pim6_mld.c')
| -rw-r--r-- | pimd/pim6_mld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim6_mld.c b/pimd/pim6_mld.c index a39d182990..8ccf42d729 100644 --- a/pimd/pim6_mld.c +++ b/pimd/pim6_mld.c @@ -2537,7 +2537,7 @@ static void gm_show_if_vrf(struct vty *vty, struct vrf *vrf, const char *ifname, if (!js && !detail) { table = ttable_dump(tt, "\n"); vty_out(vty, "%s\n", table); - XFREE(MTYPE_TMP, table); + XFREE(MTYPE_TMP_TTABLE, table); ttable_del(tt); } } @@ -3021,7 +3021,7 @@ static void gm_show_groups(struct vty *vty, struct vrf *vrf, bool uj) /* Dump the generated table. */ table = ttable_dump(tt, "\n"); vty_out(vty, "%s\n", table); - XFREE(MTYPE_TMP, table); + XFREE(MTYPE_TMP_TTABLE, table); ttable_del(tt); } } |
