-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test: fix memory leak in ListUnitTest
Fix memory leaks `test_massive()` scenario of ListUnitTest caused by the list elements not being cleaned up after the test. To fix this in a simple way, use references to `vector` elements as list elements instead of explicit dynamic allocation.
- Loading branch information
1 parent
56b9952
commit 4f2e80d
Showing
1 changed file
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters