Deleted timer for record and unflatten benchmarks.
git-svn-id: http://skia.googlecode.com/svn/trunk@5185 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/PictureBenchmark.cpp b/tools/PictureBenchmark.cpp
index fe7607b..e45c5e8 100644
--- a/tools/PictureBenchmark.cpp
+++ b/tools/PictureBenchmark.cpp
@@ -99,6 +99,8 @@
}
SkDebugf("record: msecs = %6.5f\n", wall_time / fRepeats);
+
+ SkDELETE(timer);
}
void SimplePictureBenchmark::run(SkPicture* pict) {
@@ -221,6 +223,8 @@
}
SkDebugf("unflatten: msecs = %6.4f\n", wall_time / fRepeats);
+
+ SkDELETE(timer);
}
}