commit | 942194f5ec084aabf2f44fb857255adef4e89884 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Mon Mar 12 19:15:43 2018 +0100 |
committer | Alex Deymo <deymo@google.com> | Mon Mar 12 19:24:29 2018 +0100 |
tree | f42f73fb19de060b2dde713ef871258930ba7848 | |
parent | a31cf35116698419bb75377b8c073a3f60b7f961 [diff] |
Destroy the bz2 decompressor on destruction. When the patching fails, we never close the decompressor which leaks the internal decompressor structure. This patch keeps track of that and releases it when needed. Bug: chromium:820043 Test: Ran it through ASAN with the example provided in the bug before and after this patch. Change-Id: I29d3e99608333c6b8bf129a89cba26b7d029a561