Merge "Camera: Fix double-free in removeCamera" into rvc-qpr-dev am: 229e07f9b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13732556 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Icd7ee95e0e51137ec64342dfc308a0420c99ed5c
This commit is contained in:
commit
d8fa145b04
1 changed files with 0 additions and 1 deletions
|
@ -549,7 +549,6 @@ void CameraModule::removeCamera(int cameraId) {
|
|||
}
|
||||
}
|
||||
}
|
||||
free_camera_metadata(metadata);
|
||||
}
|
||||
|
||||
mCameraInfoMap.removeItem(cameraId);
|
||||
|
|
Loading…
Reference in a new issue