Merge "Camera: Fix double-free in removeCamera" into rvc-qpr-dev

This commit is contained in:
TreeHugger Robot 2021-03-12 17:50:13 +00:00 committed by Android (Google) Code Review
commit 229e07f9b9

View file

@ -549,7 +549,6 @@ void CameraModule::removeCamera(int cameraId) {
}
}
}
free_camera_metadata(metadata);
}
mCameraInfoMap.removeItem(cameraId);