Jasmine Chen ecd3296f1e Camera: Fix double-free in removeCamera
When a camera is removed, |hidlMetadata| takes over ownership of
|metadata|. Therefore, we should not free |metadata| again.

Bug: 180014486
Test: Remove an external camera, and no crashes were observed.
Marged-In: I85246067f8753911cbcb58af24a46f12962226f3
Change-Id: I85246067f8753911cbcb58af24a46f12962226f3
(cherry picked from commit f36a439e3a97315a9f0a8661ea77aff61fb79c82)
(cherry picked from commit 682abf4039)
2021-03-02 21:06:15 +00:00
2020-04-07 16:37:40 -07:00
2020-12-09 17:43:12 -08:00
2020-06-22 06:48:29 +00:00
2020-04-07 16:37:40 -07:00
2020-04-07 16:37:40 -07:00
2020-04-07 16:37:40 -07:00
2020-04-07 16:37:40 -07:00
2020-04-07 16:37:40 -07:00
2020-05-13 17:20:03 +00:00
2020-04-07 16:37:40 -07:00
2020-04-07 16:37:40 -07:00
2020-04-09 08:27:34 +00:00
2020-04-07 16:37:40 -07:00
2020-04-07 16:37:40 -07:00
2020-04-07 16:37:40 -07:00
2019-04-23 12:51:21 -07:00
2020-04-07 16:37:40 -07:00
2020-04-07 16:37:40 -07:00
2020-04-07 16:37:40 -07:00
2020-04-09 08:27:34 +00:00
2020-04-07 16:37:40 -07:00
2020-04-07 16:37:40 -07:00
2019-12-13 14:24:23 -08:00
2016-08-30 11:28:36 -07:00
2016-08-30 11:28:36 -07:00
2019-12-10 09:51:58 -08:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%