Camera: Fix jpeg auxiliary buffer leak

During Jpeg compression 'mFoundAux' will
get shadowed and the corresponding member
variable will never get correctly initialized.
Depending on the stack state the arbitrary
value in 'mFoundAux' will cause leaks of the
auxiliary jpeg buffer.

Bug: 131697512
Test: atest
cts/tests/camera/src/android/hardware/camera2/cts/FastBasicsTest.java
--generate-baseline=100

Change-Id: If8be5612487b05dadfd89aabb26c099728251075
1 file changed
tree: 91d05886b61b4908c6d9d2549c6e94a7c27fa29e
  1. common/
  2. guest/
  3. host/
  4. tests/
  5. tools/
  6. Android.bp
  7. Android.mk
  8. OWNERS
  9. TEST_MAPPING