Skip to content

Commit f48e37c

Browse files
committed
Fix iteration in FFI::Table#free! method.
1 parent 3190cce commit f48e37c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rabbitmq/ffi/ext/table.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def to_h(free=false)
2323
end
2424

2525
def free!
26-
self.each do
26+
self.each do |entry|
2727
entry[:key].free!
2828
entry[:value].free!
2929
end

0 commit comments

Comments
 (0)