Project

General

Profile

« Previous | Next » 

Revision ce2bc45a

Added by nagachika (Tomoyuki Chikanaga) about 6 years ago

merge revision(s) 60042,60130,60131: [Backport #13982]

    ext: adjust indent [ci skip]

    zlib.c: memory leak in gunzip

    * ext/zlib/zlib.c (zlib_gunzip): clear zstream to fix memory leak.
      [ruby-core:83162] [Bug #13982]

    zlib.c: ensure to free

    * ext/zlib/zlib.c (zlib_gunzip): gz0 is a structure variable on
      the stack, no longer valid after exit by an exception.  ensure
      to free instead.  [Bug #13982]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@62172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e