mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:12:58 +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,
|
HEAP_ZERO_MEMORY,
|
||||||
sizeof(NOTIFICATION_ITEM));
|
sizeof(NOTIFICATION_ITEM));
|
||||||
if (NotificationDll == NULL)
|
if (NotificationDll == NULL)
|
||||||
|
{
|
||||||
|
FreeLibrary(hInstance);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
NotificationDll->bEnabled = TRUE;
|
NotificationDll->bEnabled = TRUE;
|
||||||
NotificationDll->dwMaxWait = 30; /* FIXME: ??? */
|
NotificationDll->dwMaxWait = 30; /* FIXME: ??? */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue