1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

fix missing addref() in ocl::Context::create(str)

backported fix from PR 18907
This commit is contained in:
Dale Phurrough
2020-11-24 02:08:41 +01:00
committed by Alexander Alekhin
parent ea91f7e57d
commit 705e7b207c
+1
View File
@@ -2437,6 +2437,7 @@ public:
if (impl)
{
CV_LOG_INFO(NULL, "OpenCL: reuse context@" << impl->contextId << " for configuration: " << configuration)
impl->addref();
return impl;
}