commit | 8b857fd52350bb17092eb0a0f070c2f7689b4717 | [log] [tgz] |
---|---|---|
author | Paras Nagda <pnagda@codeaurora.org> | Tue Aug 09 19:22:30 2016 +0530 |
committer | Paras Nagda <pnagda@codeaurora.org> | Tue Aug 09 19:22:30 2016 +0530 |
tree | 903c3eb685f4962b87d7d6c2a6ac3a2a03c19cc3 | |
parent | 292befe53ca6f6c1432cae32e9c3e53ecb425bbc [diff] |
mm-video-v4l2: Avoid memory leak due to loss of fd In case of dynamic buffer mode when FTB proxy is called reference to the fd is added to the list. However when qbuf to driver fails during HW overload ,fd's which were added in the list were not removed and resulting in to a leak. Remove the fd reference when qbuf to the driver fails. Change-Id: I11a960091af1a2f29b8bc0c933a414455db7ff70 CRs-Fixed: 1051720