btrfs-progs: let btrfs_free_path accept NULL
authorDavid Sterba <dsterba@suse.cz>
Fri, 19 Dec 2014 16:01:40 +0000 (17:01 +0100)
committerDavid Sterba <dsterba@suse.cz>
Fri, 19 Dec 2014 17:04:28 +0000 (18:04 +0100)
commitfb7ddc498f4ddb63836e5b0e419f33fe6ce1cae6
tree6a90ce6774413b447fabc584c22e822515f99dc7
parentc4ca5c5f3f9bc4ccd25c4a640bd7052d8a0c2e67
btrfs-progs: let btrfs_free_path accept NULL

Same in kernel and matches semantics of free().

Resolves-Coverity-CID: 1054881
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
ctree.c