Index: bench/GrMemoryPoolBench.cpp |
diff --git a/bench/GrMemoryPoolBench.cpp b/bench/GrMemoryPoolBench.cpp |
index 3efe653d8e9f55e7ca9a1547e5cc5eafa0c9e04b..f1872fc136889b098847c1fd838a24e1b7759203 100644 |
--- a/bench/GrMemoryPoolBench.cpp |
+++ b/bench/GrMemoryPoolBench.cpp |
@@ -117,7 +117,7 @@ protected: |
if (nullptr == objects[idx].get()) { |
objects[idx].reset(new B); |
} else { |
- objects[idx].free(); |
+ objects[idx].reset(); |
} |
} |
} |