]> git.ipfire.org Git - thirdparty/curl.git/commit
examples/http2-serverpush: fix file handle leaks
authorViktor Szakats <commit@vsz.me>
Fri, 31 Oct 2025 02:33:14 +0000 (03:33 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 31 Oct 2025 12:14:12 +0000 (13:14 +0100)
commit4b85e489a45c81b235d3e47d1524cbe1d6b25b06
tree4a170a1aef5afe9bfa88a8185d85f6a37d6cba7f
parent5bf9445315f0964a4848ef08ef0f2bf3ce4c3567
examples/http2-serverpush: fix file handle leaks

Also:
- tests/libtest/cli_h2_serverpush: re-sync formatting.

Previously fixed in tests based on a local clang-tidy v20 report.

Pointed out by TIOBE scanner via Coverity 2025.3.0.
Follow-up to 83a8818cfebe5f2a4bab5c9ddc55fd64b5629296 #17706

Closes #19291
docs/examples/http2-serverpush.c
tests/libtest/cli_h2_serverpush.c