Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1306124
| From | Stanislaw Gruszka <sgruszka@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] iwl4965: Fix a memory leak in error handling code of __il4965_up |
| Date | 2016-01-11 13:20 +0100 |
| Message-ID | <qPJC1-2eG-9@gated-at.bofh.it> (permalink) |
| References | <qOhHQ-7YB-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Jan 07, 2016 at 08:17:39PM +0800, Jia-Ju Bai wrote: > When il4965_hw_nic_init in __il4965_up fails, the memory allocated by > iwl4965_sta_alloc_lq in iwl4965_alloc_bcast_station is not freed. > > This patches adds il_dealloc_bcast_stations in the error handling code of > __il4965_up to fix this problem. > > This patch has been tested in real device, and it actually fixes the bug. > > Signed-off-by: Jia-Ju Bai <baijiaju1990@163.com> Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] iwl4965: Fix a memory leak in error handling code of __il4965_up Jia-Ju Bai <baijiaju1990@163.com> - 2016-01-07 13:20 +0100 Re: [PATCH] iwl4965: Fix a memory leak in error handling code of __il4965_up Stanislaw Gruszka <sgruszka@redhat.com> - 2016-01-11 13:20 +0100
csiph-web