Btrfs - Fix memory leak in btrfs_init_new_device()
authorIlya Dryomov <idryomov@gmail.com>
Sun, 6 Feb 2011 19:58:21 +0000 (19:58 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 14 Feb 2011 21:21:31 +0000 (16:21 -0500)
commit67100f255dba284bcbb5ce795355dad1cff35658
treef343a1c2bb24b4a4cc965933b41e6d0271fe05fb
parent51788b1bdd0d68345bab0af4301e7fa429277228
Btrfs - Fix memory leak in btrfs_init_new_device()

Memory allocated by calling kstrdup() should be freed.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/volumes.c