Fixed memory leak.
This commit is contained in:
parent
3a88e43e9b
commit
5a6ba6ed94
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue