Merge pull request #6673 from afabri/STL_Extension-Skip_list_memory_leak-GF

STL_extension: Fix memory leak in Skiplist
This commit is contained in:
Laurent Rineau 2022-06-29 09:41:56 +02:00
commit 57aba4eae1
1 changed files with 1 additions and 1 deletions

View File

@ -234,8 +234,8 @@ public:
void pop_back()
{
all_.pop_back();
skip_.pop_back();
all_.pop_back_and_dispose(Node_disposer());
}
/// Insert \c t before \c pos in the all_view. \t will not be inserted into the skip view.