commit | 5a9eab657a9f229a6ed3700f27dc1253a8eaddfb | [log] [tgz] |
---|---|---|
author | Arun Menon <avmenon@codeaurora.org> | Wed Jan 08 18:02:19 2014 -0800 |
committer | Vineeta Srivastava <vsrivastava@google.com> | Fri Mar 07 13:38:10 2014 -0800 |
tree | a48a52f93faed155402f8a51db4fdc4e48dd59fa | |
parent | cf8408186605323a6797e5f431192ab434e79fff [diff] |
mm-video: vidc: fix memory leak in dynamic buffer mode In dynamic buffer mode, for non-secure playback, output buffer is mapped before each ftb to driver. This buffer is unmapped in the fbd. During flush operations, the mapped buffer in ftb is not freed leading to memory leak. To fix the issue, move the memory mapping to just before sending the ftb to driver. Bug: 11973141 Change-Id: Ib0e5525fdf8132434800bf4d4ff8d27b085fc8fc