1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

core(alloc): drop unused code, use memalign() functions instead of hacks

valgrind provides better detection without memory buffer hacks
This commit is contained in:
Alexander Alekhin
2017-07-27 18:01:34 +03:00
parent 34f9c039c5
commit b46e741c95
5 changed files with 42 additions and 627 deletions
-1
View File
@@ -1532,7 +1532,6 @@ BOOL WINAPI DllMain(HINSTANCE, DWORD fdwReason, LPVOID lpReserved)
{
// Not allowed to free resources if lpReserved is non-null
// http://msdn.microsoft.com/en-us/library/windows/desktop/ms682583.aspx
cv::deleteThreadAllocData();
cv::getTlsStorage().releaseThread();
}
}