]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Work around memory-leak false alarms
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Apr 2022 06:25:35 +0000 (23:25 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Apr 2022 06:25:54 +0000 (23:25 -0700)
commitce3d5ff4f2d46e77bdb30e1061bcc36c3cfe1112
tree17db8f642f286e9f783f65707e9339c559e24cce
parentc8d6d6eb8be36144f1285f35901e325b56bac68f
Work around memory-leak false alarms

Problem reported by Raphael Isemann in:
https://lists.gnu.org/r/autoconf-patches/2022-03/msg00007.html
* lib/autoconf/c.m4 (_AC_C_C99_TEST_MAIN, AC_C_FLEXIBLE_ARRAY_MEMBER):
* tests/data/gnulib_std_gnu11_2020_08_17.m4 (_AC_C_C99_TEST_HEADER):
Free storage allocated via malloc, to pacify overly-picky
implementations that issue false alarms about memory leaks.
lib/autoconf/c.m4
tests/data/gnulib_std_gnu11_2020_08_17.m4