Re: [PATCH] staging: wilc1000: fix memory leak on mgmt_tx on error return path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 09, 2015 at 12:11:33PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> Static analysis with cppcheck found the following memory leak:
> 
> [drivers/staging/wilc1000/linux_mon.c:255]: (error) Memory leak: mgmt_tx
> 
> Free mgmt_tx on the error return path when mgmt_tx->buff fails to be
> allocated.
> 
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---

This has already been done by:
f638dd3918a4 ("staging: wilc1000: fix potential memory leak")

regards
sudip
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux