mirror of
https://github.com/zebrajr/opencv.git
synced 2026-01-15 12:15:17 +00:00
fix missing addref() in ocl::Context::create(str)
backported fix from PR 18907
This commit is contained in:
committed by
Alexander Alekhin
parent
ea91f7e57d
commit
705e7b207c
@@ -2437,6 +2437,7 @@ public:
|
||||
if (impl)
|
||||
{
|
||||
CV_LOG_INFO(NULL, "OpenCL: reuse context@" << impl->contextId << " for configuration: " << configuration)
|
||||
impl->addref();
|
||||
return impl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user