diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2013-04-09 19:08:34 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-04-23 18:56:22 +0200 |
commit | 969d0cbb512d89e5bbd2a34bdb29db62113dc92d (patch) | |
tree | 4e3d22f12cb74028803ba426d21d98112da22a9b /cmds-send.c | |
parent | 9b1daecf178bb7ff5be6e774853865080b721aac (diff) |
Btrfs-progs: cleanup subvol_uuid_search memory in btrfs send/receive
Call the cleanup function that was introduced with the other commit.
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Diffstat (limited to 'cmds-send.c')
-rw-r--r-- | cmds-send.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds-send.c b/cmds-send.c index 3ba5af67..fcde74cc 100644 --- a/cmds-send.c +++ b/cmds-send.c @@ -458,6 +458,7 @@ int cmd_send_start(int argc, char **argv) goto out; } add_clone_source(&send, root_id); + subvol_uuid_search_finit(&send.sus); free(subvol); full_send = 0; break; @@ -630,6 +631,7 @@ int cmd_send_start(int argc, char **argv) out: if (send.mnt_fd >= 0) close(send.mnt_fd); + subvol_uuid_search_finit(&send.sus); return ret; } |