Fix Valgrind error introduced by D16515

Summary: valgrind reports issues. This patch seems to fix it.

Test Plan: run the tests that fails in valgrind

Reviewers: igor, haobo, kailiu

Reviewed By: kailiu

CC: dhruba, ljin, yhchiang, leveldb

Differential Revision: https://reviews.facebook.net/D16653
This commit is contained in:
sdong
2014-03-06 15:12:34 -08:00
parent 26ac5603f4
commit e1f52b6a22
2 changed files with 7 additions and 7 deletions

View File

@@ -584,7 +584,7 @@ class LogBuffer {
~LogBuffer();
// Add a log entry to the buffer.
void AddLogToBuffer(const char* format, ...);
void AddLogToBuffer(const char* format, va_list ap);
// Flush all buffered log to the info log.
void FlushBufferToLog() const;