Skip to content

Commit

Permalink
fix leak in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Nov 25, 2024
1 parent f2df3af commit 1777479
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/std_vector_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,6 @@ TEST_CASE("vector tuple test") {

auto tuple = cista::deserialize<T>(buf);
CHECK_EQ(0, std::strncmp("what?", cista::get<3>(*tuple).data(), 5));

tuple->~T();
}

0 comments on commit 1777479

Please sign in to comment.