diff options
author | german77 <[email protected]> | 2024-01-07 12:55:24 -0600 |
---|---|---|
committer | german77 <[email protected]> | 2024-01-07 12:55:24 -0600 |
commit | bc2d1262d7bb4f6d4f97d0fd3d5a495f5e8a972e (patch) | |
tree | 57cca403630c9bccb575eee819b7dfa70f295f74 /src/hid_core | |
parent | 1220309323aceccb8389b4ce0eb16497fb21eaeb (diff) | |
download | yuzu-mainline-bc2d1262d7bb4f6d4f97d0fd3d5a495f5e8a972e.tar.gz yuzu-mainline-bc2d1262d7bb4f6d4f97d0fd3d5a495f5e8a972e.zip |
service: hid: Delete shared memory handle when unused
Diffstat (limited to 'src/hid_core')
-rw-r--r-- | src/hid_core/resources/applet_resource.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hid_core/resources/applet_resource.cpp b/src/hid_core/resources/applet_resource.cpp index d09a525c6..a84826050 100644 --- a/src/hid_core/resources/applet_resource.cpp +++ b/src/hid_core/resources/applet_resource.cpp @@ -130,6 +130,7 @@ void AppletResource::FreeAppletResourceId(u64 aruid) { if (aruid_data.flag.is_assigned) { aruid_data.shared_memory_format = nullptr; aruid_data.flag.is_assigned.Assign(false); + shared_memory_holder[index].Finalize(); } } |