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:
TreeHugger Robot 2021-03-12 18:11:47 +00:00 committed by Automerger Merge Worker
commit d8fa145b04

View file

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