aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-04-22 16:01:19 +0100
committerThomas Adam <thomas@xteddy.org>2017-04-22 16:01:19 +0100
commitb853054e711c37a1f2c086311c1781ba44d66ef4 (patch)
treeae80760547f59095e081746c2e98f2ff08f8b1c5
parenta6a294c8f8b5cb73880b1b9763b7aba331e37562 (diff)
parent1e0eb914d945e0f287716d56669d0de409e86e59 (diff)
downloadrtmux-b853054e711c37a1f2c086311c1781ba44d66ef4.tar.gz
rtmux-b853054e711c37a1f2c086311c1781ba44d66ef4.tar.bz2
rtmux-b853054e711c37a1f2c086311c1781ba44d66ef4.zip
Merge branch 'obsd-master'
-rw-r--r--status.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/status.c b/status.c
index a8fe2032..c673860a 100644
--- a/status.c
+++ b/status.c
@@ -1497,6 +1497,7 @@ status_prompt_complete(struct session *session, const char *s)
out = status_prompt_complete_prefix(list, size);
if (out != NULL) {
xasprintf(&tmp, "-%c%s%s", copy[1], out, colon);
+ free(out);
out = tmp;
goto found;
}