diff options
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -207,6 +207,7 @@ make_label(const char *label, char **cause) free(paths); xasprintf(&base, "%s/tmux-%ld", path, (long)uid); + free(path); if (mkdir(base, S_IRWXU) != 0 && errno != EEXIST) { xasprintf(cause, "couldn't create directory %s (%s)", base, strerror(errno)); |