Skip to content

Commit ef12e0f

Browse files
committed
Fix a valgrind warning
Change-Id: I6be0f1d53df9661a158e80e5b1a901336a46fae6
1 parent 73d30c9 commit ef12e0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/src/arrow/ipc/writer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ RecordBatchWriter::~RecordBatchWriter() {}
621621
class StreamBookKeeper {
622622
public:
623623
StreamBookKeeper() : sink_(nullptr), position_(-1) {}
624-
explicit StreamBookKeeper(io::OutputStream* sink) : sink_(sink) {}
624+
explicit StreamBookKeeper(io::OutputStream* sink) : sink_(sink), position_(-1) {}
625625

626626
Status UpdatePosition() { return sink_->Tell(&position_); }
627627

0 commit comments

Comments
 (0)