Merge "Clear dlerror before executing anything."
am: 25d42d5444

Change-Id: Ia94d0a07a597d7696e3c39e86fd81f163b0033e6
diff --git a/transport/ServiceManagement.cpp b/transport/ServiceManagement.cpp
index fec29d1..387b161 100644
--- a/transport/ServiceManagement.cpp
+++ b/transport/ServiceManagement.cpp
@@ -141,6 +141,8 @@
         // TODO: lookup in VINTF instead
         // TODO(b/34135607): Remove HAL_LIBRARY_PATH_SYSTEM
 
+        dlerror(); // clear
+
         for (const std::string &path : {
             HAL_LIBRARY_PATH_ODM, HAL_LIBRARY_PATH_VENDOR, HAL_LIBRARY_PATH_SYSTEM
         }) {