Fixed memory leak in log file