ext: GC safety fix when throwing an exception
commite142f2c5db4427be70d10d7e1316e139d08a7c3e
authorEric Wong <normalperson@yhbt.net>
Wed, 21 Apr 2010 23:29:56 +0000 (21 16:29 -0700)
committerEric Wong <normalperson@yhbt.net>
Wed, 21 Apr 2010 23:29:56 +0000 (21 16:29 -0700)
tree911deab5c0939d29185cd120e8a2790527066c4c
parenta0ee3ba2d08acb423a1cbc4a5ae862bd40c4b914
ext: GC safety fix when throwing an exception

The return value of rb_inspect() may not be visible
on the stack without assigning it to a local variable
first.
ext/clogger_ext/clogger.c