1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Fixed several issues found by static analysis (Windows specific)

This commit is contained in:
Maksim Shabunin
2017-07-10 23:14:02 +03:00
parent cddf868572
commit 02db592014
2 changed files with 17 additions and 6 deletions
@@ -116,6 +116,7 @@ static void* WinGetProcAddress(const char* name)
else if (GetProcAddress(handle, OPENCL_FUNC_TO_CHECK_1_1) == NULL)
{
fprintf(stderr, ERROR_MSG_INVALID_VERSION);
FreeLibrary(handle);
handle = NULL;
}
}