aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/maestro3.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-09-04 17:38:36 +0200
committerTakashi Iwai <tiwai@suse.de>2017-09-04 17:42:27 +0200
commitcc91ceaf3efd9a2364463b5f85d9f391f1ddaa9d (patch)
tree41cfda3d5a464f76dae22ad2d57d4a09924fdf87 /sound/pci/maestro3.c
parentALSA: hda: Fix forget to free resource in error handling code path in hda_codec_driver_probe (diff)
downloadlinux-dev-cc91ceaf3efd9a2364463b5f85d9f391f1ddaa9d.tar.xz
linux-dev-cc91ceaf3efd9a2364463b5f85d9f391f1ddaa9d.zip
ALSA: hda/ca0132 - Fix memory leak at error path
The CA0132 codec driver doesn't call the free function at its error path of the probe, which leaves the allocated memory. Call ca0132_free() properly at the error handling. Fixes: a73d511c4867 ("ALSA: hda/ca0132: Add unsol handler for DSP and jack detection") Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/maestro3.c')
0 files changed, 0 insertions, 0 deletions