Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92b93d31 authored by Eric Sesterhenn's avatar Eric Sesterhenn Committed by Jaroslav Kysela
Browse files

[ALSA] Fix memory leak in sound/isa/es18xx.c



Fixed a memory leak in the error patch.

Signed-off-by: default avatarEric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent f3838ba9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2154,6 +2154,7 @@ static int __devinit snd_audiodrive_pnpc(int dev, struct snd_audiodrive *acard,
	}
	/* Control port initialization */
	if (pnp_activate_dev(acard->devc) < 0) {
		kfree(cfg);
		snd_printk(KERN_ERR PFX "PnP control configure failure (out of resources?)\n");
		return -EAGAIN;
	}