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.
This commit is contained in:
parent
dac57703cc
commit
6a1799f095
@ -211,7 +211,6 @@ AbstractUI<RequestObject>::handle_ui_requests ()
|
|||||||
if (vec.buf[0]->invalidation) {
|
if (vec.buf[0]->invalidation) {
|
||||||
vec.buf[0]->invalidation->requests.remove (vec.buf[0]);
|
vec.buf[0]->invalidation->requests.remove (vec.buf[0]);
|
||||||
}
|
}
|
||||||
delete vec.buf[0];
|
|
||||||
i->second->increment_read_ptr (1);
|
i->second->increment_read_ptr (1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user