aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--status.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/status.c b/status.c
index 636f6278..9a84ae43 100644
--- a/status.c
+++ b/status.c
@@ -542,9 +542,9 @@ status_replace(struct client *c, struct session *s, struct winlink *wl,
format_session(ft, s);
format_winlink(ft, s, wl);
format_window_pane(ft, wp);
- expanded = format_expand(ft, out);
- format_free(ft);
- return (expanded);
+ expanded = format_expand(ft, out);
+ format_free(ft);
+ return (expanded);
}
/* Figure out job name and get its result, starting it off if necessary. */