Commit c2ae7a55 authored by Alex Deymo's avatar Alex Deymo
Browse files

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
parent 942194f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment