Skip to content

Commit

Permalink
Address memory leak in remove pointer test (#72)
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Brawner <brawner@gmail.com>
  • Loading branch information
brawner committed Jun 9, 2020
1 parent f5dcc5d commit 417f8be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_pointer_traits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,7 @@ TEST(TestPointerTraits, remove_pointer) {
EXPECT_TRUE(b_cuptr);
EXPECT_TRUE(b_cvuptr);
EXPECT_TRUE(b_cvuptrc);

delete ptr;
delete cptrc;
}

0 comments on commit 417f8be

Please sign in to comment.