mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00: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:
parent
8943354d17
commit
ffc99d08e8
1 changed files with 1 additions and 2 deletions
|
@ -693,8 +693,7 @@ CMP_RegisterNotification(
|
|||
}
|
||||
else
|
||||
{
|
||||
if (pNotifyData->hNotifyHandle == NULL)
|
||||
HeapFree(GetProcessHeap(), 0, pNotifyData);
|
||||
HeapFree(GetProcessHeap(), 0, pNotifyData);
|
||||
|
||||
*phDevNotify = (HDEVNOTIFY)NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue