Index: src/xml/SkDOM.cpp |
diff --git a/src/xml/SkDOM.cpp b/src/xml/SkDOM.cpp |
index 0f0b614f1116bed80ccf7cf5f4a1e6f9d9d43d34..8b55f6c98093f7b21871c6e2b761c5eec8294d36 100644 |
--- a/src/xml/SkDOM.cpp |
+++ b/src/xml/SkDOM.cpp |
@@ -374,7 +374,7 @@ SkXMLParser* SkDOM::beginParsing() { |
const SkDOM::Node* SkDOM::finishParsing() { |
SkASSERT(fParser); |
fRoot = fParser->getRoot(); |
- fParser.free(); |
+ fParser.reset(); |
return fRoot; |
} |