ruby/include
nobu 482bf1959a ruby.h: fix possible memory leak
* include/ruby/ruby.h (Data_Make_Struct, TypedData_Make_Struct):
  allocate wrapper data object before allocating DATA_PTR to get
  rid of possible memory leak when the former failed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-10 15:20:35 +00:00
..
ruby ruby.h: fix possible memory leak 2015-05-10 15:20:35 +00:00
ruby.h HAVE_RUBY_THREAD_H 2012-07-11 01:16:41 +00:00