]> Pileus Git - ~andy/linux/commit
Btrfs: fix memory leak in name_cache_insert()
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Mon, 17 Dec 2012 06:38:51 +0000 (06:38 +0000)
committerJosef Bacik <josef@toxicpanda.com>
Mon, 14 Jan 2013 18:52:30 +0000 (13:52 -0500)
commitcfa7a9ccda711ac6ab8f0d17c3a9b540092d305a
tree639a5436c4efe846035864a92832f67f520debe3
parent57ba86c00f9573b63b8c06810d4f6915efed2442
Btrfs: fix memory leak in name_cache_insert()

We should free name_cache_entry before returning from the
error handling code.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
fs/btrfs/send.c