Fixed memory leak.

This commit is contained in:
Sears Russell 2007-11-03 22:21:46 +00:00
parent 3a88e43e9b
commit 5a6ba6ed94

View file

@ -414,7 +414,7 @@ void syncLog_LogWriter() {
LogEntry * crc_entry = allocCommonLogEntry(log_crc, -1, INTERNALLOG); LogEntry * crc_entry = allocCommonLogEntry(log_crc, -1, INTERNALLOG);
writeLogEntryUnlocked(crc_entry); writeLogEntryUnlocked(crc_entry);
free(crc_entry);
// Reset log_crc to zero each time a crc entry is written. // Reset log_crc to zero each time a crc entry is written.
log_crc = 0; log_crc = 0;