Author: dgorbachev
Date: Sat Mar 31 01:08:23 2007
New Revision: 26216
URL:
http://svn.reactos.org/svn/reactos?rev=26216&view=rev
Log:
Fix a bug.
Modified:
trunk/reactos/base/services/eventlog/eventlog.c
Modified: trunk/reactos/base/services/eventlog/eventlog.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/eventlog/eve…
==============================================================================
--- trunk/reactos/base/services/eventlog/eventlog.c (original)
+++ trunk/reactos/base/services/eventlog/eventlog.c Sat Mar 31 01:08:23 2007
@@ -218,18 +218,18 @@
LoadLogFiles(elogKey);
}
- StartServiceCtrlDispatcher(ServiceTable);
+ StartServiceCtrlDispatcher(ServiceTable);
bye_bye:
- DeleteCriticalSection(&LogListCs);
-
// Close all log files.
for(pLogf = LogListHead; pLogf; pLogf = ((PLOGFILE)pLogf)->Next)
LogfClose(pLogf);
-
+
+ DeleteCriticalSection(&LogListCs);
+
if(MyHeap) HeapDestroy(MyHeap);
- return RetCode;
+ return RetCode;
}
VOID EventTimeToSystemTime(DWORD EventTime,