diff options
| author | Keith Busch <[email protected]> | 2020-11-13 18:45:45 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2020-11-14 08:57:55 +0000 |
| commit | 8168d23fbcee4f9f6c5a1ce8650417f09aef70eb (patch) | |
| tree | 9921efe963e679f99953ba22b6f63e3c9bd60522 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | nvme: directly cache command effects log (diff) | |
| download | kernel-8168d23fbcee4f9f6c5a1ce8650417f09aef70eb.tar.gz kernel-8168d23fbcee4f9f6c5a1ce8650417f09aef70eb.zip | |
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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions
