Skip to content

Commit 7931f5e

Browse files
aalkinclaude
andcommitted
Free input messages in test_InputRecord
The inputs array allocated by the test was never released. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent aa07fd8 commit 7931f5e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎Framework/Core/test/test_InputRecord.cxx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ TEST_CASE("TestInputRecord")
167167
REQUIRE(record.end().parts().size() == 0);
168168
// thus there is no element and begin == end
169169
REQUIRE(record.end().parts().begin() == record.end().parts().end());
170+
171+
std::ranges::for_each(inputs, [](auto* x){ free(x); });
170172
}
171173

172174
// TODO:

0 commit comments

Comments
 (0)