]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
plugins/solidigm: fix use after free.
authorMaurizio Lombardi <mlombard@redhat.com>
Mon, 2 Sep 2024 15:43:03 +0000 (17:43 +0200)
committerDaniel Wagner <wagi@monom.org>
Mon, 9 Sep 2024 07:13:30 +0000 (09:13 +0200)
commitc5af2d2f77b0a232ee2a4770d8a4d61aa0241d13
tree1aa85f2e716bd637508541cec3af89c5702d8eb4
parente152e9715d4a289a9a5b4cda96ed875b7d997f6e
plugins/solidigm: fix use after free.

the "output" file descriptor is automatically closed when the function
returns; therefore we shouldn't explicitly call close() against it.

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
plugins/solidigm/solidigm-internal-logs.c