Fixed windows abort

This commit is contained in:
WolverinDEV 2019-10-27 19:00:54 +01:00
parent 3280a9d398
commit 477440f766
1 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,8 @@ void Resolver::destroy_dns_request(Resolver::dns_request *request) {
request->thread_data = nullptr;
} else {
//Threaded data has been deleted now delete the lock
lock.unlock();
delete request->threaded_lock;
request->threaded_lock = nullptr;
}