diff options
author | Pierre Pronchery <pierre@freebsdfoundation.org> | 2024-05-16 14:34:34 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2024-05-21 23:41:04 +0000 |
commit | 408572a24e55a4c9ff9f81d1403ec0e055841264 (patch) | |
tree | 7de9a64287e884d8fae51ee0b1449922b25cdc0d /share/man/man3/Q_INI.3 | |
parent | bd2d71b1c8658c05f92dd87dede042c498d66d50 (diff) | |
download | src-408572a24e55a4c9ff9f81d1403ec0e055841264.tar.gz src-408572a24e55a4c9ff9f81d1403ec0e055841264.zip |
libnvmf: avoid resource leak
In nvmf_host_fetch_discovery_log_page(), the log variable may have been
allocated on the heap during the first loop cycle, and should be
free()'d before exiting upon errors.
Reported by: Coverity
CID: 1545034
Sponsored by: The FreeBSD Foundation
Reviewed by: imp,jhb
Pull Request: https://github.com/freebsd/freebsd-src/pull/1239
Diffstat (limited to 'share/man/man3/Q_INI.3')
0 files changed, 0 insertions, 0 deletions