From 89f4422edd6bb6acc2c9f9b2ca220dad02ae9df4 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 10 Oct 2012 08:50:35 +0200 Subject: [PATCH] --- yaml --- r: 333716 b: refs/heads/master c: c5e0b6dbad9b4d18c561af90b384d02373f1c994 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_cirrus.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index b9b3609557e8..31a25183aa08 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7819d1c70eb6a57e43554d86e10b39d1e106ed65 +refs/heads/master: c5e0b6dbad9b4d18c561af90b384d02373f1c994 diff --git a/trunk/sound/pci/hda/patch_cirrus.c b/trunk/sound/pci/hda/patch_cirrus.c index fc92819838a1..f441f53f0306 100644 --- a/trunk/sound/pci/hda/patch_cirrus.c +++ b/trunk/sound/pci/hda/patch_cirrus.c @@ -1444,7 +1444,7 @@ static int patch_cs420x(struct hda_codec *codec) return 0; error: - kfree(codec->spec); + cs_free(codec); codec->spec = NULL; return err; } @@ -1989,7 +1989,7 @@ static int patch_cs4210(struct hda_codec *codec) return 0; error: - kfree(codec->spec); + cs_free(codec); codec->spec = NULL; return err; } @@ -2014,7 +2014,7 @@ static int patch_cs4213(struct hda_codec *codec) return 0; error: - kfree(codec->spec); + cs_free(codec); codec->spec = NULL; return err; }