commit | d48cf5c57a850dd4b712efeeb35a09e3d5390f5e | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Tue Jul 19 20:28:02 2011 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Tue Jul 19 20:39:56 2011 -0700 |
tree | da36350517e6df46e6002ac2698061fc804935bc | |
parent | fe9052edaf6bebbccaac5a9fb607012778d0dd74 [diff] |
Fix memory leak in mapCentralDirectory. Bug: 4984352 mapCentralDirectory was allocating a buffer of size 65557 that it passed to mapCentralDirectory0. Then mapCentralDirectory0 was reallocating a new buffer which it failed to free. This patch rearranges the code a little to ensure that only buffer gets allocated and it gets freed. Change-Id: I3b22e2b904f6e7584ab8a3af49c8f1350a40be87