summaryrefslogtreecommitdiff
path: root/src/compgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compgen.c')
-rw-r--r--src/compgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compgen.c b/src/compgen.c
index df04386..84cd323 100644
--- a/src/compgen.c
+++ b/src/compgen.c
@@ -15,7 +15,7 @@
static const char *default_state_dir = ".cache";
static const char *cache_basename = "tofi-compgen";
-[[nodiscard]]
+[[nodiscard("memory leaked")]]
static char *get_cache_path() {
char *cache_name = NULL;
const char *state_path = getenv("XDG_CACHE_HOME");