btrfs-receive: memory-leak fix that requires an updated libbtrfs
This code is optional since exit() is called at the end and the
leaked memory is on the heap.
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
diff --git a/btrfs-receive.c b/btrfs-receive.c
index 8ce2b05..25c81c6 100644
--- a/btrfs-receive.c
+++ b/btrfs-receive.c
@@ -324,6 +324,7 @@
}
ret = far_rcv_mainloop(&brctx->frctx, stream_fd, "./");
+ subvol_uuid_search_finit(&brctx->subvol_uuid_search_ctx);
if (ret) {
fprintf(stderr,
"%s: ERROR, far_rcv_mainloop() failed with %s.\n",