| Index: chrome/common/libxml_utils.cc
|
| diff --git a/chrome/common/libxml_utils.cc b/chrome/common/libxml_utils.cc
|
| index 8b8e39fee4a5d66252b9e66dfcb4df934e0515ce..f06df72fb249110fbd6e58d65893b47a57eda0fc 100644
|
| --- a/chrome/common/libxml_utils.cc
|
| +++ b/chrome/common/libxml_utils.cc
|
| @@ -35,7 +35,8 @@ void XmlReader::GenericErrorCallback(void* context, const char* msg, ...) {
|
| va_start(args, msg);
|
|
|
| XmlReader* reader = static_cast<XmlReader*>(context);
|
| - reader->errors_.append(StringPrintf(msg, args));
|
| + reader->errors_.append(StringPrintV(msg, args));
|
| + va_end(args);
|
| }
|
|
|
| bool XmlReader::Load(const std::string& input) {
|
|
|