| commit | 7fbc6048b1cacbf11852e25b838edc8fe9433dcd | [log] [tgz] |
|---|---|---|
| author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Aug 13 22:10:05 2012 +0000 |
| committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Aug 13 22:10:05 2012 +0000 |
| tree | 7094ab91ab489820cebeff0d5b68afe0d68cbe52 | |
| parent | f61c7463a945ebc891e2eead79051e4411bbeb57 [diff] [blame] |
Stop bench from leaking Review URL: http://codereview.appspot.com/6465045/ git-svn-id: http://skia.googlecode.com/svn/trunk@5072 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/bench/TextBench.cpp b/bench/TextBench.cpp index 0bef92c..9334c33 100644 --- a/bench/TextBench.cpp +++ b/bench/TextBench.cpp
@@ -49,6 +49,7 @@ public: TextBench(void* param, const char text[], int ps, SkColor color, FontQuality fq, bool doPos = false) : INHERITED(param) { + fPos = NULL; fFQ = fq; fDoPos = doPos; fText.set(text);