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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user