Btrfs: fix memory leak in name_cache_insert()
We should free name_cache_entry before returning from the
error handling code.
Signed-off-by: NTsutomu Itoh <t-itoh@jp.fujitsu.com>
Showing
想要评论请 注册 或 登录
We should free name_cache_entry before returning from the
error handling code.
Signed-off-by: NTsutomu Itoh <t-itoh@jp.fujitsu.com>