summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.c b/tmux.c
index f9de920c..c8a5a44e 100644
--- a/tmux.c
+++ b/tmux.c
@@ -127,6 +127,7 @@ make_label(const char *label, char **cause)
free(base);
goto fail;
}
+ free(base);
if (mkdir(resolved, S_IRWXU) != 0 && errno != EEXIST)
goto fail;