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 <g...@gnu.org.ua>
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

_______________________________________________
Commit-mailutils mailing list
Commit-mailutils@gnu.org
http://lists.gnu.org/mailman/listinfo/commit-mailutils

Reply via email to