diff options
| author | Sudip Mukherjee <[email protected]> | 2015-09-01 05:44:05 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2015-09-01 13:10:50 +0000 |
| commit | 51d2eeef1d958ef6834b24f548194f5acea0f499 (patch) | |
| tree | 0beae9e8d582f3dd6045777369ceae270225f354 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Linux 4.2-rc2 (diff) | |
| download | kernel-51d2eeef1d958ef6834b24f548194f5acea0f499.tar.gz kernel-51d2eeef1d958ef6834b24f548194f5acea0f499.zip | |
ASoC: wm0010: fix memory leak
We were aborting if the kzalloc of img_swap fails but without freeing the
already allocated out. Similarly we were aborting if spi_sync fails
without releasing out and img_swap.
Signed-off-by: Sudip Mukherjee <[email protected]>
Acked-by: Charles Keepax <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
