diff options
author | Robin Gareus <robin@gareus.org> | 2015-12-12 14:52:35 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-12-12 14:52:35 +0100 |
commit | 6a1799f095acd808acefe1684904a86be568ae39 (patch) | |
tree | bc0c8092abbcab4c60266ab27b3107e4db721655 /libs/pbd | |
parent | dac57703ccd7205ac94c14b407b802a69f4187f1 (diff) |
remove invalid free. - fixes crash with generic midi surface
if there is a per_thread_request_buffer, get_request() simply puts a
POD RequestType on the ringbuffer's head. send_request() increases
the write-pointer. There is no memory to free.
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/pbd/abstract_ui.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/pbd/pbd/abstract_ui.cc b/libs/pbd/pbd/abstract_ui.cc index 323435bdd9..a4da437934 100644 --- a/libs/pbd/pbd/abstract_ui.cc +++ b/libs/pbd/pbd/abstract_ui.cc @@ -211,7 +211,6 @@ AbstractUI<RequestObject>::handle_ui_requests () if (vec.buf[0]->invalidation) { vec.buf[0]->invalidation->requests.remove (vec.buf[0]); } - delete vec.buf[0]; i->second->increment_read_ptr (1); } } |