mirror of
https://github.com/reactos/reactos.git
synced 2026-06-17 12:37:17 +08:00
[SETUPAPI] CMP_RegisterNotification(): Remove useless/broken check (#6210)
Revert new broken check from commitb0a73746c, and even remove initiala6eabc004(r73394) useless check.
This commit is contained in:
@@ -693,8 +693,7 @@ CMP_RegisterNotification(
|
||||
}
|
||||
else
|
||||
{
|
||||
if (pNotifyData->hNotifyHandle == NULL)
|
||||
HeapFree(GetProcessHeap(), 0, pNotifyData);
|
||||
HeapFree(GetProcessHeap(), 0, pNotifyData);
|
||||
|
||||
*phDevNotify = (HDEVNOTIFY)NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user