diff options
Diffstat (limited to 'libhwc2.1/libdevice/ExynosDevice.cpp')
-rw-r--r-- | libhwc2.1/libdevice/ExynosDevice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhwc2.1/libdevice/ExynosDevice.cpp b/libhwc2.1/libdevice/ExynosDevice.cpp index 3701d5c..ec4d57a 100644 --- a/libhwc2.1/libdevice/ExynosDevice.cpp +++ b/libhwc2.1/libdevice/ExynosDevice.cpp @@ -227,6 +227,7 @@ void ExynosDevice::initDeviceInterface(uint32_t interfaceType) display->mDisplayInterface) != NO_ERROR) { ALOGD("Remove display[%d], Failed to initialize display interface", i); mDisplays.removeAt(i); + mDisplayMap.erase(display->mDisplayId); delete display; } else { i++; |