summaryrefslogtreecommitdiff
path: root/ext/json/fbuffer
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-08 19:17:32 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-08 19:17:32 +0000
commite0ba59b708edb0fb5fdde4c7a2364d5e006705f7 ()
treef3a4d9a9ca3a4de399d478d650b6737c064d994e /ext/json/fbuffer
parenta4d3990f25af1cca8f409a1a783b37dc32bf894d (diff)
Additional experimental fix for r35261.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/json/fbuffer/fbuffer.h4
1 files changed, 2 insertions, 2 deletions
@@ -92,9 +92,9 @@ static void fbuffer_append_str(FBuffer *fb, VALUE str)
const char *newstr = StringValuePtr(str);
unsigned long len = RSTRING_LEN(str);
- RB_GC_GUARD(str);
-
fbuffer_append(fb, newstr, len);
}
static void fbuffer_append_char(FBuffer *fb, char newchr)