diff options
author | Zach Brown <zab@redhat.com> | 2013-01-22 15:52:17 -0800 |
---|---|---|
committer | Zach Brown <zab@redhat.com> | 2013-02-05 16:09:39 -0800 |
commit | 506fb87fe48f38e2999b6265fcc54456ea81c7b1 (patch) | |
tree | a9d0ad5c31489819f394cb69ebcca0637a696c31 /volumes.c | |
parent | aaf682ac2e6f0126305a149bccb4b5798fd6ffe4 (diff) |
btrfs-progs: free path on read_chunk_tree error
Path allocation failure already has its own return, remember to free the
path when the error label is taken.
Signed-off-by: Zach Brown <zab@redhat.com>
Diffstat (limited to 'volumes.c')
-rw-r--r-- | volumes.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1601,9 +1601,9 @@ again: goto again; } - btrfs_free_path(path); ret = 0; error: + btrfs_free_path(path); return ret; } |