diff options
| author | Colin Ian King <[email protected]> | 2018-03-27 14:30:01 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2018-03-27 15:45:33 +0000 |
| commit | 623760257b39632ffc5051fc88167b546dcfa791 (patch) | |
| tree | 3e4955b7b0da1e0b323b3c55e36ebe8af9a47bc7 /lib/mpi/mpi-inline.h | |
| parent | ALSA: pcm: Fix mutex unbalance in OSS emulation ioctls (diff) | |
| download | kernel-623760257b39632ffc5051fc88167b546dcfa791.tar.gz kernel-623760257b39632ffc5051fc88167b546dcfa791.zip | |
ALSA: usb-audio: fix memory leak on cval
With the current exit return path of the ctl_info allocation failure
cval is not being freed resulting in a memory leak. Fix this by kfree'ing
it on the return.
Detected by CoverityScan, CID#1466878 ("Resource Leak")
Fixes: 21e9b3e931f7 ("ALSA: usb-audio: fix uac control query argument")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
