RE: [PATCH] net: mana: Fix memory leak in mana_hwc_create_wq

2021-12-09 Thread Dexuan Cui
> From: José Expósito > Sent: Wednesday, December 8, 2021 2:37 PM > > If allocating the DMA buffer fails, mana_hwc_destroy_wq was called > without previously storing the pointer to the queue. > > In order to avoid leaking the pointer to the queue, store it as soon as > it is allocated. > > Addr

Re: [PATCH] net: mana: Fix memory leak in mana_hwc_create_wq

2021-12-09 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski : On Wed, 8 Dec 2021 23:37:23 +0100 you wrote: > If allocating the DMA buffer fails, mana_hwc_destroy_wq was called > without previously storing the pointer to the queue. > > In order to avoid leaking the pointer to the