[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YPD7EjeO8i3v4cuX@mit.edu>
Date: Thu, 15 Jul 2021 23:20:50 -0400
From: "Theodore Y. Ts'o" <tytso@....edu>
To: wuguanghao <wuguanghao3@...wei.com>
Cc: linux-ext4@...r.kernel.org, artem.blagodarenko@...il.com,
liuzhiqiang26@...wei.com, linfeilong@...wei.com
Subject: Re: [PATCH v2 03/12] zap_sector: fix memory leak
On Wed, Jun 30, 2021 at 04:27:15PM +0800, wuguanghao wrote:
> In zap_sector(), need free buf before return,
> otherwise it will cause memory leak.
>
> Signed-off-by: Wu Guanghao <wuguanghao3@...wei.com>
> Signed-off-by: Zhiqiang Liu <liuzhiqiang26@...wei.com>
> Reviewed-by: Wu Bo <wubo40@...wei.com>
Thanks, applied.
- Ted
Powered by blists - more mailing lists