From 2aebc9f90d56d53f05f935b8bddb6af9c0c40c65 Mon Sep 17 00:00:00 2001 From: DavidXanatos Date: Sat, 26 Mar 2022 10:17:45 +0100 Subject: [PATCH] Update scm_msi.c --- Sandboxie/core/dll/scm_msi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sandboxie/core/dll/scm_msi.c b/Sandboxie/core/dll/scm_msi.c index 80054839..b37ccaae 100644 --- a/Sandboxie/core/dll/scm_msi.c +++ b/Sandboxie/core/dll/scm_msi.c @@ -238,7 +238,7 @@ _FX BOOL Scm_OpenProcessToken(HANDLE ProcessHandle, DWORD DesiredAccess, PHANDLE if (NT_SUCCESS(status) && ProcessHandle == GetCurrentProcess()) { - Handle_RegisterCloseHandler(*phTokenOut, Scm_TokenCloseHandler); + File_RegisterCloseHandler(*phTokenOut, Scm_TokenCloseHandler); TlsData->scm_last_own_token = *phTokenOut; } @@ -259,7 +259,7 @@ _FX BOOL Scm_OpenThreadToken(HANDLE ThreadHandle, DWORD DesiredAccess, BOOL Open if (NT_SUCCESS(status) && ThreadHandle == GetCurrentThread()) { - Handle_RegisterCloseHandler(*phTokenOut, Scm_TokenCloseHandler); + File_RegisterCloseHandler(*phTokenOut, Scm_TokenCloseHandler); TlsData->scm_last_own_token = *phTokenOut; }