Change #247183
| Category | curl | 
| Changed by | Viktor Szakats <commit@vsz.me> | 
| Changed at | Fri 31 Oct 2025 13:35:53 | 
| Repository | https://github.com/curl/curl.git | 
| Project | curl | 
| Branch | master | 
| Revision | 869143b19402845855e8a0c36eb0ee67127f7a24 | 
Comments
examples: fix more potential resource leaks, and more Also: - delete dead code. - sync `http2-download.c` and `http2-upload.c` sources. - simplessl: fix constant expression. - simplessl: avoid `expression is constant` VS2010 warning, drop pragma. - replace large stack buffers with dynamic allocation. - http2-download: fix to fill transfer number. Some of these were pointed out by TIOBE scanner via Coverity 2025.3.0. Closes #19292
Changed files
- docs/examples/10-at-a-time.c
- docs/examples/http2-download.c
- docs/examples/http2-serverpush.c
- docs/examples/http2-upload.c
- docs/examples/sftpuploadresume.c
- docs/examples/simplessl.c
- docs/examples/smtp-authzid.c
- docs/examples/smtp-mail.c
- docs/examples/smtp-multi.c
- docs/examples/smtp-ssl.c
- docs/examples/smtp-tls.c