mirror of https://github.com/torvalds/linux.git
The memory allocated for struct pcmciamtd_dev in pcmciamtd_probe() is
not freed in the corresponding remove function pcmciamtd_detach().
Fix that by freeing it in the remove function.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| amd76xrom.c | ||
| cfi_flagadm.c | ||
| ck804xrom.c | ||
| dc21285.c | ||
| esb2rom.c | ||
| ichxrom.c | ||
| impa7.c | ||
| l440gx.c | ||
| lantiq-flash.c | ||
| map_funcs.c | ||
| netsc520.c | ||
| nettel.c | ||
| pci.c | ||
| pcmciamtd.c | ||
| physmap-bt1-rom.c | ||
| physmap-bt1-rom.h | ||
| physmap-core.c | ||
| physmap-gemini.c | ||
| physmap-gemini.h | ||
| physmap-ixp4xx.c | ||
| physmap-ixp4xx.h | ||
| physmap-versatile.c | ||
| physmap-versatile.h | ||
| pismo.c | ||
| plat-ram.c | ||
| pxa2xx-flash.c | ||
| sa1100-flash.c | ||
| sbc_gxx.c | ||
| sc520cdp.c | ||
| scb2_flash.c | ||
| scx200_docflash.c | ||
| solutionengine.c | ||
| sun_uflash.c | ||
| ts5500_flash.c | ||
| tsunami_flash.c | ||
| uclinux.c | ||
| vmu-flash.c | ||