[xoreos-git] [xoreos/xoreos] a975a6: COMMON: Plug a leak in decompressLZMA1()

GitHub noreply at github.com
Sun May 20 09:15:10 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/xoreos
  Commit: a975a6274e87c1bcac177975eaedba51edb94be5
      https://github.com/xoreos/xoreos/commit/a975a6274e87c1bcac177975eaedba51edb94be5
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-05-19 (Sat, 19 May 2018)

  Changed paths:
    M src/common/lzma.cpp

  Log Message:
  -----------
  COMMON: Plug a leak in decompressLZMA1()

We are supposed to free this after all.

However, there's a kind of unfortunate situation with AppVeyor, in
that free()'ing memory in xoreos that was malloc()'ed in liblzma
doesn't work.

As a workaround, we supply lzma_properties_decode with a custom
allocator.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the xoreos-git mailing list