Mem leak fix for async query code

This commit is contained in:
Image 2020-03-26 17:43:01 -04:00
parent d736517287
commit d71e9c76ee

View file

@ -75,6 +75,7 @@ ThreadReturnType DBAsyncQueries(void* str)
Sleep(10); Sleep(10);
DBStruct* data = (DBStruct*)str; DBStruct* data = (DBStruct*)str;
database.RunAsyncQueries(data->queryid); database.RunAsyncQueries(data->queryid);
delete data;
THREAD_RETURN(NULL); THREAD_RETURN(NULL);
} }
#endif #endif