mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 06:57:08 +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
|
@ -693,7 +693,6 @@ CMP_RegisterNotification(
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (pNotifyData->hNotifyHandle == NULL)
|
|
||||||
HeapFree(GetProcessHeap(), 0, pNotifyData);
|
HeapFree(GetProcessHeap(), 0, pNotifyData);
|
||||||
|
|
||||||
*phDevNotify = (HDEVNOTIFY)NULL;
|
*phDevNotify = (HDEVNOTIFY)NULL;
|
||||||
|
|
Loading…
Reference in a new issue