diff options
author | Keith Busch <kbusch@kernel.org> | 2020-11-13 21:45:45 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-11-14 11:57:55 +0300 |
commit | 8168d23fbcee4f9f6c5a1ce8650417f09aef70eb (patch) | |
tree | 9921efe963e679f99953ba22b6f63e3c9bd60522 /lib/test_overflow.c | |
parent | f6224b8681326856937420e1db18564a934bf32b (diff) | |
download | linux-8168d23fbcee4f9f6c5a1ce8650417f09aef70eb.tar.xz |
nvme: fix memory leak freeing command effects
xa_destroy() frees only internal data. The caller is responsible for
freeing the exteranl objects referenced by an xarray.
Fixes: 1cf7a12e09aa4 ("nvme: use an xarray to lookup the Commands Supported and Effects log")
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions