CameraJNI: Fix memory leak in stop recording.
Issue: Due to race conditions, if a recording frame callback is received after a proxy listener is set to NULL, the callback is forwarded to JNIContext which does nothing. This will lead to buffer leak in metadata mode because fd would have been duped already. Fix: Release recording frame from JNIContext. Bug: 30299751 CRs-Fixed: 1040448 Change-Id: I315ec3124014c6309d68fdc1be1e18091a84e154 Bug : 30143478
Loading
Please register or sign in to comment