diff options
author | Tiago Cunha <tcunha@gmx.com> | 2011-09-21 16:34:34 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2011-09-21 16:34:34 +0000 |
commit | d9807eeba14bf35b99ed73c75a6303817729fa58 (patch) | |
tree | 3e31f3358204ecbd727d969249ab3c80dca7d9af | |
parent | cb752f9938cebb056321930d4b1f718db4992534 (diff) | |
download | rtmux-d9807eeba14bf35b99ed73c75a6303817729fa58.tar.gz rtmux-d9807eeba14bf35b99ed73c75a6303817729fa58.tar.bz2 rtmux-d9807eeba14bf35b99ed73c75a6303817729fa58.zip |
Sync OpenBSD patchset 956:
Another memory leak from Tiago Cunha.
-rw-r--r-- | cmd-capture-pane.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-capture-pane.c b/cmd-capture-pane.c index 888ce325..9f2d792a 100644 --- a/cmd-capture-pane.c +++ b/cmd-capture-pane.c @@ -109,6 +109,7 @@ cmd_capture_pane_exec(struct cmd *self, struct cmd_ctx *ctx) buffer = args_strtonum(args, 'b', 0, INT_MAX, &cause); if (cause != NULL) { ctx->error(ctx, "buffer %s", cause); + xfree(buf); xfree(cause); return (-1); } |