Skip to content

Commit fe00223

Browse files
committed
Fixed test_helpers.cc
1 parent 3151a8d commit fe00223

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tensorflow/lite/micro/test_helpers.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ flatbuffers::FlatBufferBuilder* BuilderInstance() {
8585
new (inst_memory) flatbuffers::FlatBufferBuilder(
8686
StackAllocator::kStackAllocatorSize,
8787
&StackAllocator::instance(MicroArenaBufferAlignment()));
88+
inst->Clear();
8889
return inst;
8990
}
9091

0 commit comments

Comments
 (0)