mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 05:54:05 +00:00
[WINLOGON] fix resource leak in error case CID 1322159
svn path=/trunk/; revision=68929
This commit is contained in:
parent
4c72ff9871
commit
638a301cd5
|
@ -121,7 +121,10 @@ LoadNotificationDll(
|
|||
HEAP_ZERO_MEMORY,
|
||||
sizeof(NOTIFICATION_ITEM));
|
||||
if (NotificationDll == NULL)
|
||||
{
|
||||
FreeLibrary(hInstance);
|
||||
return;
|
||||
}
|
||||
|
||||
NotificationDll->bEnabled = TRUE;
|
||||
NotificationDll->dwMaxWait = 30; /* FIXME: ??? */
|
||||
|
|
Loading…
Reference in a new issue