mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-23 00:08:01 +02:00
ruby: fixes SEGV on MessagePack_Unpacker_each
This commit is contained in:
@@ -209,6 +209,7 @@ class MessagePackTestFormat < Test::Unit::TestCase
|
||||
obj.to_msgpack.split(//).each do |b|
|
||||
pac.feed(b)
|
||||
pac.each {|o|
|
||||
GC.start
|
||||
assert_equal(obj, o)
|
||||
parsed += 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user