projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3838ba
)
[ALSA] Fix memory leak in sound/isa/es18xx.c
author
Eric Sesterhenn
<snakebyte@gmx.de>
Thu, 28 Sep 2006 10:35:48 +0000
(12:35 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Fri, 6 Oct 2006 18:22:58 +0000
(20:22 +0200)
Fixed a memory leak in the error patch.
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/isa/es18xx.c
patch
|
blob
|
history
diff --git
a/sound/isa/es18xx.c
b/sound/isa/es18xx.c
index 2398d2c55febbab12c80dd63af0c49e02d16fd14..725c115ff97da3277723d54903081afbc41a84d5 100644
(file)
--- a/
sound/isa/es18xx.c
+++ b/
sound/isa/es18xx.c
@@
-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;
}