Update UnregisterAllLdrRegisterDllNotification.c

This commit is contained in:
rad9800
2022-11-22 18:18:13 +00:00
committed by GitHub
parent 0f5038ae58
commit f2cf60150c
+2 -2
View File
@@ -165,8 +165,8 @@ VOID RemoveEntryList(LIST_ENTRY* Entry)
LIST_ENTRY* removeDllLoadNotifications()
{
LIST_ENTRY* dllNotificationList = getDllLoadNotifications();
if (dllNotificationList)
LIST_ENTRY* dllNotificationList = NULL;
if (dllNotificationList = getDllLoadNotifications())
{
LIST_ENTRY* head = dllNotificationList;
LIST_ENTRY* next = dllNotificationList->Flink;