Revert this back - reintroduce the leak but should hopefully
solve issues on newer Intel CPUs
This commit is contained in:
parent
599385de87
commit
51e2da2cbd
|
@ -99,8 +99,7 @@ static void *thread_wrap(void *data_)
|
|||
struct thread_data *data = (struct thread_data*)data_;
|
||||
if (!data)
|
||||
return 0;
|
||||
if (data->func)
|
||||
data->func(data->userdata);
|
||||
data->func(data->userdata);
|
||||
free(data);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue