summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-10-14 12:01:26 +0100
committerThomas Adam <thomas@xteddy.org>2019-10-14 12:01:26 +0100
commiteb57cbcc296b10d8d9ea41930ab402717c800f9c (patch)
tree6f6ad7c4bfb1abcba860ee51e9bc77ffef1bfc5a /tmux.c
parent7323ffeef22074911038444c0bfc675f56cd9726 (diff)
parentb598bbcc2e8b26855e4d34dfff9c222c28080cd7 (diff)
Merge branch 'obsd-master'
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;