[sheepdog] [PATCH v1 1/3] lib: fix memory leak in B-tree
Liu Yuan
namei.unix at gmail.com
Mon Feb 17 06:15:05 CET 2014
On Fri, Feb 14, 2014 at 02:45:57PM +0800, Robin Dong wrote:
> From: Robin Dong <sanbai at taobao.com>
>
> When the depth of B-tree for sd_inode becomes 2, and last ext-node is full, there
> is a memory leak in routine of search_whole_btree() -- we only free memory in
> path->p_ext_header but its value will be NULL in this case.
>
> Signed-off-by: Robin Dong <sanbai at taobao.com>
Applied this series.
Thanks
Yuan
More information about the sheepdog
mailing list