Merge changes Iaee8a218,I11e703f8,Ia2664bba,I29d3e996

* changes:
  Fix infinite loop when providing a partial input bz2 stream.
  Fix -Wzero-length-array warning in unittest code.
  Destroy the brotli decompressor on destruction.
  Destroy the bz2 decompressor on destruction.