projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dac5770
)
remove invalid free. - fixes crash with generic midi surface
author
Robin Gareus
<robin@gareus.org>
Sat, 12 Dec 2015 13:52:35 +0000
(14:52 +0100)
committer
Robin Gareus
<robin@gareus.org>
Sat, 12 Dec 2015 13:52:35 +0000
(14:52 +0100)
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
patch
|
blob
|
history
diff --git
a/libs/pbd/pbd/abstract_ui.cc
b/libs/pbd/pbd/abstract_ui.cc
index 323435bdd9fd8b9edf1bc371711c3d42227cd30d..a4da437934ab62c65701b70e78543c3d36f31628 100644
(file)
--- 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);
}
}