1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/bigdecimal
nobu bdf07741f3 bigdecimal.c: wrapper object before alloc
* ext/bigdecimal/bigdecimal.c (VpNewRbClass): make wrapper object
  before result structs allocation and manage refcount for each
  elements to get rid of potential memory leak.

* ext/bigdecimal/bigdecimal.c (BigDecimal_global_new): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-27 08:02:28 +00:00
..
lib/bigdecimal
sample
bigdecimal.c bigdecimal.c: wrapper object before alloc 2015-05-27 08:02:28 +00:00
bigdecimal.gemspec * bigdecimal: conform to ruby's license. [ruby-core:68466] [Bug #10952] 2015-04-08 07:18:46 +00:00
bigdecimal.h * bigdecimal: conform to ruby's license. [ruby-core:68466] [Bug #10952] 2015-04-08 07:18:46 +00:00
depend * ext/bigdecimal/depend: Fix dependencies to make bigdecimal 2014-12-19 13:15:28 +00:00
extconf.rb * ext/bigdecimal/bigdecimal.c (rb_rational_num): add fallback function 2015-01-29 14:34:43 +00:00