summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorTodd Naugle <toddn@glw.com>2011-11-03 14:33:04 +0000
committerTodd Naugle <toddn@glw.com>2011-11-03 14:33:04 +0000
commitdf5b171c2a33ffe842e6e44564ad62e55d8bc5e1 (patch)
treeb5fd03b1e790d53ce128b122201d65ca65204adc /libs
parent85d34e80bf3c43c87c468f047f75ef572925aa5d (diff)
backports of 10318, 10380, 10403-10405. Fixes a crash in opening sessions and several leak fixes
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10411 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/pbd/pbd/abstract_ui.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/pbd/pbd/abstract_ui.cc b/libs/pbd/pbd/abstract_ui.cc
index 24760fb5a1..02b5a234f2 100644
--- a/libs/pbd/pbd/abstract_ui.cc
+++ b/libs/pbd/pbd/abstract_ui.cc
@@ -73,6 +73,7 @@ AbstractUI<RequestObject>::unregister_thread (pthread_t thread_id)
Glib::Mutex::Lock lm (request_buffer_map_lock);
typename RequestBufferMap::iterator x = request_buffers.find (thread_id);
if (x != request_buffers.end()) {
+ delete (*x).second;
request_buffers.erase (x);
}
}