Skip to content

Commit

Permalink
fix(libsinsp-ut): avoid use after free
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
  • Loading branch information
therealbobo authored and poiana committed Mar 6, 2024
1 parent 85cda8e commit 8cbfc42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions userspace/libsinsp/test/async_key_value_source.ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ TEST(async_key_value_source_test, get_complete_results_incomplete)

EXPECT_EQ(1, completed.size());
EXPECT_EQ(metadata, completed[key1]);

source.stop();
}

/**
Expand Down

0 comments on commit 8cbfc42

Please sign in to comment.