mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
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
This commit is contained in:
parent
05ba99388d
commit
ce2bc45ae8
8 changed files with 105 additions and 65 deletions
|
@ -506,7 +506,7 @@ void Init_syslog(void)
|
|||
rb_define_syslog_facility(LOG_NEWS);
|
||||
#endif
|
||||
#ifdef LOG_NTP
|
||||
rb_define_syslog_facility(LOG_NTP);
|
||||
rb_define_syslog_facility(LOG_NTP);
|
||||
#endif
|
||||
#ifdef LOG_SECURITY
|
||||
rb_define_syslog_facility(LOG_SECURITY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue