diff options
author | Maurizio Lombardi <[email protected]> | 2023-11-23 15:07:41 +0100 |
---|---|---|
committer | Keith Busch <[email protected]> | 2023-11-27 10:26:43 -0800 |
commit | e3139cef8257fcab1725441e2fd5fd0ccb5481b1 (patch) | |
tree | 9ec04a8124356d1871a29a581906ed3be3e51158 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 136cfcb8dce9bc7a17a8d32e497f4dfe80dd357d (diff) |
nvme-core: fix a memory leak in nvme_ns_info_from_identify()
In case of error, free the nvme_id_ns structure that was allocated
by nvme_identify_ns().
Signed-off-by: Maurizio Lombardi <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Kanchan Joshi <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions