commit-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mailutils branch, master, updated. rel-2_1-92-g1cb4b8d


From: Sergey Poznyakoff
Subject: [SCM] GNU Mailutils branch, master, updated. rel-2_1-92-g1cb4b8d
Date: Thu, 26 Aug 2010 09:42:50 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=1cb4b8d7631f3a7a675510ddf3332bc28ddc5d2d

The branch, master has been updated
       via  1cb4b8d7631f3a7a675510ddf3332bc28ddc5d2d (commit)
      from  d66dc3789bac5ab2a5f23c996ca73c6d4d1626f7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1cb4b8d7631f3a7a675510ddf3332bc28ddc5d2d
Author: Sergey Poznyakoff <address@hidden>
Date:   Thu Aug 26 12:42:04 2010 +0300

    Bugfix.
    
    * mailbox/acl.c (expand_arg): Fix a memory leak.

-----------------------------------------------------------------------

Summary of changes:
 mailbox/acl.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/mailbox/acl.c b/mailbox/acl.c
index 7fb2acd..a3e3764 100644
--- a/mailbox/acl.c
+++ b/mailbox/acl.c
@@ -541,7 +541,10 @@ expand_arg (const char *cmdline, struct run_closure *rp, 
char **s)
        addr.s_addr = htonl (addr.s_addr);
        mu_vartab_define (vtab, "address", inet_ntoa (addr), 0);
        if (mu_asprintf (&p, "%hu", ntohs (s_in->sin_port)) == 0)
-         mu_vartab_define (vtab, "port", p, 0);
+         {
+           mu_vartab_define (vtab, "port", p, 0);
+           free (p);
+         }
       }
       break;
       


hooks/post-receive
-- 
GNU Mailutils



reply via email to

[Prev in Thread] Current Thread [Next in Thread]