aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--status.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/status.c b/status.c
index eff8b615..1d7c8ea1 100644
--- a/status.c
+++ b/status.c
@@ -526,6 +526,7 @@ status_job(struct client *c, char **iptr)
JOB_PERSIST, c, cmd, status_job_callback, xfree, NULL);
job_run(job);
}
+ xfree(cmd);
if (job->data == NULL)
return (xstrdup(""));
return (xstrdup(job->data));