]> Savannah Git Hosting - gnulib.git/commit
javacomp: Fix resource leak. stable-202501
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 13:56:51 +0000 (15:56 +0200)
commitbf19e06c483c8efc150966947baf492b1b398bc7
treef2727ea93e83bdef56740b1b1219e5d9036966fc
parent38a42f6faa7d8844632cdb1de456d4564425287c
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