]> git.ipfire.org Git - thirdparty/glibc.git/commit
posix: Fix memory leak a memory leak in glob.
authorBruno Haible <bruno@clisp.org>
Wed, 22 Oct 2025 02:06:05 +0000 (19:06 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Wed, 22 Oct 2025 02:09:45 +0000 (19:09 -0700)
commit1eba0b35ad3e860a0d4fae12579e8399355eee44
tree5bc38f0c8aa1730b811de98b22ae4aa184661a85
parenteb35513d3ddfc6cad63cd8505bcc545a92695efe
posix: Fix memory leak a memory leak in glob.

Found by Coverity in Gnulib.

* posix/glob.c (__glob): Add scratch_buffer_free invocation, to match
scratch_buffer_init invocation.

Reviewed-by: Collin Funk <collin.funk1@gmail.com>
posix/glob.c