From 969d0cbb512d89e5bbd2a34bdb29db62113dc92d Mon Sep 17 00:00:00 2001 From: Stefan Behrens Date: Tue, 9 Apr 2013 19:08:34 +0200 Subject: 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 --- cmds-send.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmds-send.c') diff --git a/cmds-send.c b/cmds-send.c index 3ba5af6..fcde74c 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; } -- cgit v1.2.1