Merge b9e509cba1 on remote branch
Change-Id: I94f8c8d863c85ecc86a0f9051af4660119cc3174
This commit is contained in:
@@ -85,6 +85,7 @@ int DeviceImpl::CreateInstance(ClientContext *intf) {
|
||||
android::status_t status = device_obj_->IDisplayConfig::registerAsService();
|
||||
// Unable to start Display Config 2.0 service. Fail Init.
|
||||
if (status != android::OK) {
|
||||
delete device_obj_;
|
||||
device_obj_ = nullptr;
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user