Destroy the brotli 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:819956 Test: Ran it through ASAN with the example provided in the bug before and after this patch. Change-Id: Ia2664bba6898c7d10c441efd6269dd6d029787b8
Loading
Please sign in to comment