Author: tretiakov
Date: Fri Jun 30 19:12:55 2006
New Revision: 22714
URL:
http://svn.reactos.org/svn/reactos?rev=22714&view=rev
Log:
Alex Ionescu said that check for Expanded==NULL must stay...
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 Fri Jun 30 19:12:55 2006
@@ -121,7 +121,7 @@
cleanup:
HeapFree(MyHeap, 0, Buf);
- HeapFree(MyHeap, 0, Expanded);
+ if(Expanded) HeapFree(MyHeap, 0, Expanded);
return ret;
}