diff options
author | nicm <nicm> | 2019-10-14 08:38:07 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-10-14 08:38:07 +0000 |
commit | 68d59a16cec91d2c2747c8c2862560e89f8f2d31 (patch) | |
tree | ac11b38e92612f09782f043d0fd1e010dd308a62 /tmux.c | |
parent | 4e2cc0ae2a518371d1411bc327f113fc4898954c (diff) | |
download | rtmux-68d59a16cec91d2c2747c8c2862560e89f8f2d31.tar.gz rtmux-68d59a16cec91d2c2747c8c2862560e89f8f2d31.tar.bz2 rtmux-68d59a16cec91d2c2747c8c2862560e89f8f2d31.zip |
Memory leaks, from Igor Wong in GitHub issue 1934.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -130,6 +130,7 @@ make_label(const char *label, char **cause) free(base); goto fail; } + free(base); if (mkdir(resolved, S_IRWXU) != 0 && errno != EEXIST) goto fail; |