Author: pschweitzer
Date: Tue Sep 20 12:27:50 2011
New Revision: 53768
URL:
http://svn.reactos.org/svn/reactos?rev=53768&view=rev
Log:
[LOG2LINES]
Fix memory leak
Modified:
trunk/reactos/tools/log2lines/cache.c
Modified: trunk/reactos/tools/log2lines/cache.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/log2lines/cache.c?re…
==============================================================================
--- trunk/reactos/tools/log2lines/cache.c [iso-8859-1] (original)
+++ trunk/reactos/tools/log2lines/cache.c [iso-8859-1] Tue Sep 20 12:27:50 2011
@@ -243,6 +243,7 @@
l2l_dbg(0, "Cannot list directory %s\n", opt_dir);
l2l_dbg(1, "Failed to execute: '%s'\n", Line);
remove(tmp_name);
+ free(Line);
return 2;
}
l2l_dbg(0, "Creating cache ...");