mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-13 17:58:01 +00:00
In com20020_probe(), if com20020_config() fails, dev and info
will not be freed, which will lead to a memory leak.
This patch adds freeing dev and info after com20020_config()
fails to fix this bug.
Compile tested only.
Fixes:
|
||
|---|---|---|
| .. | ||
| arc-rawmode.c | ||
| arc-rimi.c | ||
| arcdevice.h | ||
| arcnet.c | ||
| capmode.c | ||
| com90io.c | ||
| com90xx.c | ||
| com9026.h | ||
| com20020_cs.c | ||
| com20020-isa.c | ||
| com20020-pci.c | ||
| com20020.c | ||
| com20020.h | ||
| Kconfig | ||
| Makefile | ||
| rfc1051.c | ||
| rfc1201.c | ||