commit | 6b0b06348d4cc8eb0087d95826dbeba9a72565d8 | [log] [tgz] |
---|---|---|
author | John Eckerdal <john.eckerdal@sonymobile.com> | Thu Apr 21 15:04:14 2016 +0200 |
committer | Amith Yamasani <yamasani@google.com> | Thu Jun 09 14:20:51 2016 -0700 |
tree | 99155717a36c8f2b600778097ebd1105d6c263f3 | |
parent | 6d98bac4ab65bc7ac50ee4f4108d8e07e766e005 [diff] |
Fixed file descriptor leak in IMemory Include dup in critical section to avoid multiple dup calls from different threads. The leak happens more frequently since patch in frameworks/av - 6773d4777f4ccbbe6377e4ae1b42c117066ae6ba when recording video since it will access IMemory from CameraUtils::isNativeHandleMetadata Bug: 28924660 Author: Henrik Antonsson <henrik.antonsson@sonymobile.com> Change-Id: I769a914c3adc505b522659a0c43719fb2922e6fd