diff options
author | Robin Gareus <robin@gareus.org> | 2016-12-15 10:57:40 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-12-15 10:57:40 +0100 |
commit | 714da0f68ea96e2449b1f7b7cd797819ef78541e (patch) | |
tree | 66aedda05bed3e9d4189d9d93b8ca49ede0d0bab /libs | |
parent | 71bfe79e2c45c9e534d7efcb1022b858eea18550 (diff) |
and now with erase
Diffstat (limited to 'libs')
-rw-r--r-- | libs/pbd/pbd/abstract_ui.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/pbd/pbd/abstract_ui.cc b/libs/pbd/pbd/abstract_ui.cc index c7a37cdef5..299ad58da8 100644 --- a/libs/pbd/pbd/abstract_ui.cc +++ b/libs/pbd/pbd/abstract_ui.cc @@ -203,6 +203,7 @@ AbstractUI<RequestObject>::handle_ui_requests () std::list<InvalidationRecord*>::const_iterator tmp = r; ++tmp; delete *r; + trash.erase (r); r = tmp; } else { ++r; |