[WINLOGON] fix resource leak in error case CID 1322159

svn path=/trunk/; revision=68929
This commit is contained in:
Christoph von Wittich 2015-09-03 08:48:31 +00:00
parent 4c72ff9871
commit 638a301cd5

View file

@ -121,7 +121,10 @@ LoadNotificationDll(
HEAP_ZERO_MEMORY,
sizeof(NOTIFICATION_ITEM));
if (NotificationDll == NULL)
{
FreeLibrary(hInstance);
return;
}
NotificationDll->bEnabled = TRUE;
NotificationDll->dwMaxWait = 30; /* FIXME: ??? */