mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 09:31:26 +00:00
412cd77a2c
cas_saturn_firmware_init() allocates some memory using vmalloc(). This
memory is freed in the .remove() function but not it the error handling
path of the probe.
Add the missing vfree() to avoid a memory leak, should an error occur.
Fixes:
|
||
---|---|---|
.. | ||
cassini.c | ||
cassini.h | ||
Kconfig | ||
ldmvsw.c | ||
Makefile | ||
niu.c | ||
niu.h | ||
sunbmac.c | ||
sunbmac.h | ||
sungem.c | ||
sungem.h | ||
sunhme.c | ||
sunhme.h | ||
sunqe.c | ||
sunqe.h | ||
sunvnet_common.c | ||
sunvnet_common.h | ||
sunvnet.c |