]> Savannah Git Hosting - gnulib.git/commit
javacomp: Fix resource leak. stable-202407
authorBruno Haible <bruno@clisp.org>
Thu, 1 May 2025 15:28:06 +0000 (17:28 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 3 May 2025 14:08:29 +0000 (16:08 +0200)
commit320db6ee7a3cd44ee77f09d30c8a9002159beb4b
treeef1cf040a268ff4e299a278ac18fcd33d9c96165
parentd4a4052817bf97025893672ea532907ceeb4ecdf
javacomp: Fix resource leak.

* lib/javacomp.c (execute_and_read_line): Upon failure, close the stream
and wait for the child process to terminate.
ChangeLog
lib/javacomp.c