Revision: 2595
          http://tmux.svn.sourceforge.net/tmux/?rev=2595&view=rev
Author:   tcunha
Date:     2011-09-21 16:34:34 +0000 (Wed, 21 Sep 2011)
Log Message:
-----------
Sync OpenBSD patchset 956:

Another memory leak from Tiago Cunha.

Modified Paths:
--------------
    trunk/cmd-capture-pane.c

Modified: trunk/cmd-capture-pane.c
===================================================================
--- trunk/cmd-capture-pane.c    2011-09-21 16:34:04 UTC (rev 2594)
+++ trunk/cmd-capture-pane.c    2011-09-21 16:34:34 UTC (rev 2595)
@@ -109,6 +109,7 @@
        buffer = args_strtonum(args, 'b', 0, INT_MAX, &cause);
        if (cause != NULL) {
                ctx->error(ctx, "buffer %s", cause);
+               xfree(buf);
                xfree(cause);
                return (-1);
        }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
tmux-cvs mailing list
tmux-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to