autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.69-149-


From: Paul Eggert
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.69-149-g09b6e78
Date: Sat, 06 Feb 2016 05:06:48 +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 Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=09b6e78d1592ce10fdc975025d699ee41444aa3f

The branch, master has been updated
       via  09b6e78d1592ce10fdc975025d699ee41444aa3f (commit)
      from  5483deb8ae9a6265ce3af0f4c5c574d44cafbcf5 (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 09b6e78d1592ce10fdc975025d699ee41444aa3f
Author: Paul Eggert <address@hidden>
Date:   Fri Feb 5 21:06:20 2016 -0800

    Fix memory leak in AC_FUNC_MMAP
    
    * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Fix memory leak
    in test case, found by configuring with gcc -fsanitize=address.

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

Summary of changes:
 lib/autoconf/functions.m4 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4
index 5d55e2d..51ae5a4 100644
--- a/lib/autoconf/functions.m4
+++ b/lib/autoconf/functions.m4
@@ -1342,6 +1342,8 @@ main (void)
     if (*(data + i) != *(data3 + i))
       return 14;
   close (fd);
+  free (data);
+  free (data3);
   return 0;
 }]])],
               [ac_cv_func_mmap_fixed_mapped=yes],


hooks/post-receive
-- 
GNU Autoconf source repository



reply via email to

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