summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-04-16 22:01:19 +0100
committerThomas Adam <thomas@xteddy.org>2017-04-16 22:01:19 +0100
commitd912687be76891cdf5d124d278bf42b0bebd3106 (patch)
tree6b7bfcddd7f754408007a3406e7ddca86ec70cdf /tmux.c
parent9583878a7b31a37cfaca9a39d3884c06da7d1ae1 (diff)
parentd566c780e54010112d499707cd80a594144d1a89 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.c b/tmux.c
index 56da6821..c106d88d 100644
--- a/tmux.c
+++ b/tmux.c
@@ -139,6 +139,8 @@ make_label(const char *label)
if (realpath(base, resolved) == NULL)
strlcpy(resolved, base, sizeof resolved);
xasprintf(&path, "%s/%s", resolved, label);
+
+ free(base);
return (path);
fail: