Status.h: remove service specific error codes. am: 72db40f4a6 am: e6db8c28ee
am: 6a3e6265a7

Change-Id: I2afdadce6ee5063776230b93125aef73f15a3323
diff --git a/base/HidlSupport.cpp b/base/HidlSupport.cpp
index 547f7e7..bacb3d4 100644
--- a/base/HidlSupport.cpp
+++ b/base/HidlSupport.cpp
@@ -151,6 +151,7 @@
 }
 
 void hidl_handle::setTo(native_handle_t* handle, bool shouldOwn) {
+    freeHandle();
     mHandle = handle;
     mOwnsHandle = shouldOwn;
 }