From 6a1799f095acd808acefe1684904a86be568ae39 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 12 Dec 2015 14:52:35 +0100 Subject: 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. --- libs/pbd/pbd/abstract_ui.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'libs/pbd/pbd/abstract_ui.cc') 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::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); } } -- cgit v1.2.3