commit | 8168d23fbcee4f9f6c5a1ce8650417f09aef70eb | [log] [tgz] |
---|---|---|
author | Keith Busch <kbusch@kernel.org> | Fri Nov 13 10:45:45 2020 -0800 |
committer | Christoph Hellwig <hch@lst.de> | Sat Nov 14 09:57:55 2020 +0100 |
tree | 9921efe963e679f99953ba22b6f63e3c9bd60522 | |
parent | f6224b8681326856937420e1db18564a934bf32b [diff] |
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>