summaryrefslogtreecommitdiff
path: root/lib/termtable.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-08-30 09:05:11 -0400
committerDonald Sharp <sharpd@nvidia.com>2024-09-01 13:07:46 -0400
commitd97c535c1e11904585b97da894d49b766b2d270a (patch)
tree5dea632b43d39fdaa3384563913ad8abec168fbb /lib/termtable.h
parenta556f6e38b404ae1b90a52b23e5afacd64ab4d45 (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 'lib/termtable.h')
-rw-r--r--lib/termtable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/termtable.h b/lib/termtable.h
index 0782c82abd..d284c4f376 100644
--- a/lib/termtable.h
+++ b/lib/termtable.h
@@ -270,7 +270,7 @@ void ttable_rowseps(struct ttable *tt, unsigned int row,
*
* Caller must free this string after use with
*
- * XFREE (MTYPE_TMP, str);
+ * XFREE (MTYPE_TMP_TTABLE, str);
*
* @param tt the table to dump
* @param newline the desired newline sequence to use, null terminated.