Skip to content

Commit

Permalink
missed to initialize @records
Browse files Browse the repository at this point in the history
  • Loading branch information
tagomoris committed Apr 7, 2016
1 parent e5ac435 commit c142e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluent/plugin/buffer/memory_chunk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def close

def purge
@chunk = ''.force_encoding("ASCII-8BIT")
@chunk_bytes = @adding_bytes = @adding_records = 0
@chunk_bytes = @records = @adding_bytes = @adding_records = 0
true
end

Expand Down

0 comments on commit c142e7e

Please sign in to comment.