commit | 4367031f037aaae61d2a908a66ca827a4d778b73 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Mar 01 03:02:30 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Wed Mar 01 03:02:30 2017 +0000 |
tree | f91cdeedd5de24211fd78552004a40fed4c86fc1 | |
parent | 49b64dd503153f9a2923fd7d159f83d8394cdbac [diff] | |
parent | a4547bdb4b367ec3c8d396b4e93858138f731197 [diff] |
getTransport respects system/manifest.xml am: 64a41d5877 am: dfdf0a76b8 am: a4547bdb4b Change-Id: I3660f9ec960d776033c7ee7abd2e349691984b90
diff --git a/base/HidlSupport.cpp b/base/HidlSupport.cpp index 2abdf1b..ba98b44 100644 --- a/base/HidlSupport.cpp +++ b/base/HidlSupport.cpp
@@ -134,6 +134,7 @@ } void hidl_handle::setTo(native_handle_t* handle, bool shouldOwn) { + freeHandle(); mHandle = handle; mOwnsHandle = shouldOwn; }