summaryrefslogtreecommitdiff
path: root/libs/hwui/tests/macrobench/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/tests/macrobench/main.cpp')
-rw-r--r--libs/hwui/tests/macrobench/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/tests/macrobench/main.cpp b/libs/hwui/tests/macrobench/main.cpp
index 02a39501e647..5bad4369cf41 100644
--- a/libs/hwui/tests/macrobench/main.cpp
+++ b/libs/hwui/tests/macrobench/main.cpp
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+#include "tests/common/LeakChecker.h"
#include "tests/common/TestScene.h"
#include "protos/hwui.pb.h"
@@ -262,5 +263,6 @@ int main(int argc, char* argv[]) {
}
}
printf("Success!\n");
+ LeakChecker::checkForLeaks();
return 0;
}