HWUI: add leak check for macrobench

Change-Id: Id2037921fdbe599b3c722f2e1d17b99f3b74361c
diff --git a/libs/hwui/tests/macrobench/main.cpp b/libs/hwui/tests/macrobench/main.cpp
index 02a3950..5bad436 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 @@
         }
     }
     printf("Success!\n");
+    LeakChecker::checkForLeaks();
     return 0;
 }