ALSA: hda - Fix memory leak at codec creation
authorTakashi Iwai <tiwai@suse.de>
Wed, 17 Jun 2009 06:22:32 +0000 (08:22 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 Jun 2009 06:22:32 +0000 (08:22 +0200)
commitf75dcc87feab791847605044311a4a8e9335da91
treecdca84e632c6aabacbd63fc6432dee846133d90f
parente46b0c8c08cd97eb8f9a523986908add3ece0cc6
ALSA: hda - Fix memory leak at codec creation

The codec->modelname field is allocated twice in snd_hda_codec_new().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c