Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1243852
| From | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] staging: wilc1000: fix memory leak on mgmt_tx on error return path |
| Date | 2015-10-10 11:00 +0200 |
| Message-ID | <qhYau-4iI-3@gated-at.bofh.it> (permalink) |
| References | <qhDSq-tO-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Oct 09, 2015 at 12:11:33PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> 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@canonical.com>
> ---
This has already been done by:
f638dd3918a4 ("staging: wilc1000: fix potential memory leak")
regards
sudip
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] staging: wilc1000: fix memory leak on mgmt_tx on error return path Colin King <colin.king@canonical.com> - 2015-10-09 13:20 +0200 Re: [PATCH] staging: wilc1000: fix memory leak on mgmt_tx on error return path Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-10-10 11:00 +0200
csiph-web