mirror of https://github.com/CGAL/cgal
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:
commit
57aba4eae1
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue