summaryrefslogtreecommitdiffstats
path: root/skia/ext/google_logging.cc
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/google_logging.cc')
-rw-r--r--skia/ext/google_logging.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/skia/ext/google_logging.cc b/skia/ext/google_logging.cc
index b9d8b3a..5e8ffe1 100644
--- a/skia/ext/google_logging.cc
+++ b/skia/ext/google_logging.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -17,6 +17,7 @@ void SkDebugf_FileLine(const char* file, int line, bool fatal,
std::string msg;
base::StringAppendV(&msg, format, ap);
+ va_end(ap);
logging::LogMessage(file, line,
fatal ? logging::LOG_FATAL : logging::LOG_INFO).stream()