diff options
-rw-r--r-- | cmds-receive.c | 1 | ||||
-rw-r--r-- | cmds-send.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cmds-receive.c b/cmds-receive.c index 6688d0c8..fc5094e7 100644 --- a/cmds-receive.c +++ b/cmds-receive.c @@ -824,6 +824,7 @@ int do_receive(struct btrfs_receive *r, const char *tomnt, int r_fd) ret = 0; out: + subvol_uuid_search_finit(&r->sus); return ret; } 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; } |