From 3018eeb8e87226a20ff99eb4e9c4d8c414e3102b Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Tue, 1 Jun 2021 15:07:40 -0700 Subject: [PATCH] Fix accidentally disposing an ISaveDataInfoReader --- src/LibHac/FsSrv/SaveDataFileSystemService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LibHac/FsSrv/SaveDataFileSystemService.cs b/src/LibHac/FsSrv/SaveDataFileSystemService.cs index c44169c0..ab481e19 100644 --- a/src/LibHac/FsSrv/SaveDataFileSystemService.cs +++ b/src/LibHac/FsSrv/SaveDataFileSystemService.cs @@ -1832,7 +1832,7 @@ namespace LibHac.FsSrv filterReader = new SaveDataInfoFilterReader(reader, in filter); - infoReader = new ReferenceCountedDisposable(filterReader); + infoReader = new ReferenceCountedDisposable(Shared.Move(ref filterReader)); return Result.Success; } finally