commit | cb9e825306cd0a97e50a4ef9d7c58f4e961692d9 | [log] [tgz] |
---|---|---|
author | Chien-Yu Chen <cychen@google.com> | Wed Sep 07 17:51:19 2016 -0700 |
committer | Chien-Yu Chen <cychen@google.com> | Thu Sep 08 14:35:14 2016 -0700 |
tree | 3e07660158bd0b06528b03cbc8c13acdbebad65a | |
parent | 46c8f2d972e127d40b811dbd300dba6b2c339ba9 [diff] |
CameraSource: Close native handle if camera is closed When releasing a native handle to camera, close the native handle if camera is closed to avoid memory leak. Bug: 30299751 Change-Id: I8e4758308e5efcb1e138aae7134cf71366baf468