On 31 January 2013 01:52, Thiago Padilha <tpadilh...@gmail.com> wrote:
> Thanks for the patch.

I forgot to free() the result from format_expand():

diff --git a/cmd-run-shell.c b/cmd-run-shell.c
index 730e213..29ad953 100644
--- a/cmd-run-shell.c
+++ b/cmd-run-shell.c
@@ -108,6 +108,7 @@ cmd_run_shell_exec(struct cmd *self, struct cmd_ctx *ctx)
        cdata->cmd = xstrdup(shellcmd_run);
        job_run(shellcmd_run, cmd_run_shell_callback,
cmd_run_shell_free, cdata);

+       free(shellcmd_run);
        format_free(ft);

        return (CMD_RETURN_YIELD);      /* don't let client exit */


> What feature is your work on hook-support going to add? Any idea when you
> will merge it?

When it's ready; and it's not ready yet.

-- Thomas Adam

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to