Found by Coverity.
* lib/glob.c (__glob): Add scratch_buffer_free invocation, to match
scratch_buffer_init invocation.
+2025-10-21 Bruno Haible <bruno@clisp.org>
+
+ glob: Fix a memory leak.
+ Found by Coverity.
+ * lib/glob.c (__glob): Add scratch_buffer_free invocation, to match
+ scratch_buffer_init invocation.
+
2025-10-20 Bruno Haible <bruno@clisp.org>
glob: Add support for Android.
{
/* We have to regard it as an error if we cannot find the
home directory. */
+ scratch_buffer_free (&pwtmpbuf);
retval = GLOB_NOMATCH;
goto out;
}