* ext/json/generator/generator.c (generate_json_bignum):
add RB_GC_GUARD. http://fb.rubyci.org/~chkbuild/ruby-trunk/log/20120407T210301Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
63467e5263
commit
fdc3882820
@ -1,3 +1,9 @@
|
|||||||
|
Sun Apr 8 22:46:01 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/json/generator/generator.c (generate_json_bignum):
|
||||||
|
add RB_GC_GUARD.
|
||||||
|
http://fb.rubyci.org/~chkbuild/ruby-trunk/log/20120407T210301Z.diff.html.gz
|
||||||
|
|
||||||
Sun Apr 8 07:26:40 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
Sun Apr 8 07:26:40 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler): get keys
|
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler): get keys
|
||||||
|
@ -762,6 +762,7 @@ static void generate_json_bignum(FBuffer *buffer, VALUE Vstate, JSON_Generator_S
|
|||||||
{
|
{
|
||||||
VALUE tmp = rb_funcall(obj, i_to_s, 0);
|
VALUE tmp = rb_funcall(obj, i_to_s, 0);
|
||||||
fbuffer_append_str(buffer, tmp);
|
fbuffer_append_str(buffer, tmp);
|
||||||
|
RB_GC_GUARD(tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void generate_json_float(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)
|
static void generate_json_float(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user