From b30b910f11ecad2b7321275d1fc779c94395d91c Mon Sep 17 00:00:00 2001 From: DavidXanatos Date: Thu, 25 Apr 2024 10:57:50 +0200 Subject: [PATCH] Update key_del.c --- Sandboxie/core/dll/key_del.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sandboxie/core/dll/key_del.c b/Sandboxie/core/dll/key_del.c index e8d3a63f..401e9227 100644 --- a/Sandboxie/core/dll/key_del.c +++ b/Sandboxie/core/dll/key_del.c @@ -266,11 +266,13 @@ _FX NTSTATUS Key_MarkDeletedEx_v2(const WCHAR* TruePath, const WCHAR* ValueName) NtClose(hPathsFile); + Key_PathsVersion++; + File_GetAttributes_internal(KEY_PATH_FILE_NAME, &Key_PathsFileSize, &Key_PathsFileDate, NULL); } } else - Key_SavePathTree(); + Key_SavePathTree(); } File_ReleaseMutex(hMutex);