Skip to content

Commit 12e8ce4

Browse files
committed
Release builder through its LifetimeHolder in ASoA cursor test
1 parent 46b5a2c commit 12e8ce4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Framework/Core/test/test_ASoA.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1420,5 +1420,5 @@ TEST_CASE("TestWritingCursorLastIndexAndReserve")
14201420
auto table = builder->finalize();
14211421
REQUIRE(table->num_rows() == 5);
14221422
REQUIRE(table->num_columns() == 2);
1423-
delete builder;
1423+
cursor.release();
14241424
}

0 commit comments

Comments
 (0)