mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:05:49 +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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue