btrfs-progs: don't free null path
authorZach Brown <zab@redhat.com>
Tue, 22 Jan 2013 00:34:03 +0000 (16:34 -0800)
committerZach Brown <zab@redhat.com>
Wed, 6 Feb 2013 00:09:39 +0000 (16:09 -0800)
commit4b76e34093162945e8404e4e6b6754ce35ca3ce5
tree333272d6ea4581f2335f10311ab5265cfbabdfe5
parent5fc2413e64b36202f7a020bc69d4a30186145dd0
btrfs-progs: don't free null path

btrfs_free_path() derefs the path before freeing it.  It can't be passed
a null pointer when allocation fails.

Signed-off-by: Zach Brown <zab@redhat.com>
restore.c