From 59885b39303edc0b3284f324a1ca42cb6e7742d0 Mon Sep 17 00:00:00 2001 From: Tsutomu Itoh Date: Wed, 9 Apr 2014 09:18:04 +0900 Subject: [PATCH] Btrfs: fix possible memory leak in btrfs_create_tree() In btrfs_create_tree(), if btrfs_insert_root() fails, we should free root->commit_root. Reported-by: Alex Lyakas Signed-off-by: Tsutomu Itoh Signed-off-by: Chris Mason --- Reading git-format-patch failed