ALSA: hda - Fix memory leaks at error path in patch_cirrus.c
authorTakashi Iwai <tiwai@suse.de>
Wed, 10 Oct 2012 06:50:35 +0000 (08:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 Oct 2012 07:24:07 +0000 (09:24 +0200)
commitc5e0b6dbad9b4d18c561af90b384d02373f1c994
tree41892b20e9e97d01ec4f75be924fd2ddce2972af
parent7819d1c70eb6a57e43554d86e10b39d1e106ed65
ALSA: hda - Fix memory leaks at error path in patch_cirrus.c

The proper destructor should be called at the error path.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_cirrus.c