From 5a6ba6ed946369efbbc615e822ef109926a1e3b9 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Sat, 3 Nov 2007 22:21:46 +0000 Subject: [PATCH] Fixed memory leak. --- src/stasis/logger/logWriter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stasis/logger/logWriter.c b/src/stasis/logger/logWriter.c index 766d514..a09b55f 100644 --- a/src/stasis/logger/logWriter.c +++ b/src/stasis/logger/logWriter.c @@ -414,7 +414,7 @@ void syncLog_LogWriter() { LogEntry * crc_entry = allocCommonLogEntry(log_crc, -1, INTERNALLOG); writeLogEntryUnlocked(crc_entry); - + free(crc_entry); // Reset log_crc to zero each time a crc entry is written. log_crc = 0;