8235347: [Backout] 8235247: WorkerDataArray leaks C heap memory for associated work items
Backout of earlier change due to unexpected crashes. Reviewed-by: sjohanss
This commit is contained in:
parent
e7d68cd13b
commit
72f42efcd9
@ -59,9 +59,6 @@ T WorkerDataArray<T>::get(uint worker_i) const {
|
||||
|
||||
template <typename T>
|
||||
WorkerDataArray<T>::~WorkerDataArray() {
|
||||
for (uint i = 0; i < MaxThreadWorkItems; i++) {
|
||||
delete _thread_work_items[i];
|
||||
}
|
||||
FREE_C_HEAP_ARRAY(T, _data);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user