ART: Fix RelativePatcherTest::TearDown() for ASAN.

Test: run_build_test_target.py art-gtest-asan
Change-Id: I3bb383aa63ee3eda5b41e11fef1d28c189b2a63a
diff --git a/dex2oat/linker/relative_patcher_test.h b/dex2oat/linker/relative_patcher_test.h
index b913c7c..ae58b54 100644
--- a/dex2oat/linker/relative_patcher_test.h
+++ b/dex2oat/linker/relative_patcher_test.h
@@ -68,6 +68,7 @@
   }
 
   void TearDown() OVERRIDE {
+    compiled_methods_.clear();
     patcher_.reset();
     CommonCompilerTest::TearDown();
   }