commit | 834326ce7af9c78d779c0691603815f5106f0c36 | [log] [tgz] |
---|---|---|
author | Yurii Zubrytskyi <zyy@google.com> | Wed Dec 20 01:01:01 2017 -0800 |
committer | Narayan Kamath <narayan@google.com> | Wed Dec 20 18:36:03 2017 +0000 |
tree | f81d7791ad08b617c9faea43d0fb82998bb40142 | |
parent | df9fbc7d75ba4148c4849924bf945fd44f01abb3 [diff] |
Get rid of unneeded allocations in Extract...() APIs Both Extract...() functions don't need dynamic allocation for the writers, as those are strictly scoped. This CL changes heap allocation to stack allocation. Test: zip_archive_test Change-Id: Id727e4b9848235cd063cc67ecbe052d21ca21326