Fix ownership of objects returned by VintfObject::Get*
am: 1fc8ff234b

Change-Id: If88524e54e3070a9b0fbd79e4a3d1a3d7694b985
diff --git a/Vintf.cpp b/Vintf.cpp
index badfe75..d2d2f00 100644
--- a/Vintf.cpp
+++ b/Vintf.cpp
@@ -13,7 +13,7 @@
 
 vintf::Transport getTransportFromManifest(
         const FQName &fqName, const std::string &instanceName,
-        const vintf::HalManifest *vm) {
+        const std::shared_ptr<const vintf::HalManifest>& vm) {
     if (vm == nullptr) {
         return vintf::Transport::EMPTY;
     }