diff --git a/reactos/tools/log2lines/cache.c b/reactos/tools/log2lines/cache.c index d8faa8d9537..5f255308425 100644 --- a/reactos/tools/log2lines/cache.c +++ b/reactos/tools/log2lines/cache.c @@ -243,6 +243,7 @@ create_cache(int force, int skipImageBase) 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 ...");