Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit de89e591 authored by Suman Mukherjee's avatar Suman Mukherjee Committed by Bernhard Thoben
Browse files

kitakami-common: QCamera2: Fix memory leak when fail to open camera device.

Issue:
When camera open fails, param heap buffer which was allocated
in a deferred thread will not be cleaned up properly because
of improper flag check in parameters deinit().
Fix:
Since param heap buffer is allocated asynchronously, move the
initialization flag check after deallocating param heap.
CRs-Fixed: 1070448
Change-Id: I026f307c5b7501d3607c64c6b36d41eddaf0349a
parent c345386f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment