diff options
| author | Jeff Brown <jeffbrown@google.com> | 2011-07-19 20:28:02 -0700 |
|---|---|---|
| committer | Jeff Brown <jeffbrown@google.com> | 2011-07-19 20:39:56 -0700 |
| commit | d48cf5c57a850dd4b712efeeb35a09e3d5390f5e (patch) | |
| tree | da36350517e6df46e6002ac2698061fc804935bc /vm/compiler/codegen/arm/CodegenDriver.cpp | |
| 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
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.cpp')
0 files changed, 0 insertions, 0 deletions
