Commit 705e7b20 authored by Dale Phurrough's avatar Dale Phurrough Committed by Alexander Alekhin
Browse files

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

backported fix from PR 18907
No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -2437,6 +2437,7 @@ public:
if (impl)
{
CV_LOG_INFO(NULL, "OpenCL: reuse context@" << impl->contextId << " for configuration: " << configuration)
impl->addref();
return impl;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment