summaryrefslogtreecommitdiff
path: root/src/history.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/history.c')
-rw-r--r--src/history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/history.c b/src/history.c
index 94d3f75..4438b5d 100644
--- a/src/history.c
+++ b/src/history.c
@@ -14,7 +14,7 @@
static const char *default_state_dir = ".local/state";
static const char *histfile_basename = "tofi-history";
-[[nodiscard]]
+[[nodiscard("memory leaked")]]
static struct history history_create(void);
static char *get_histfile_path() {