Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
wang wenquan
opencv
Commits
705e7b20
Commit
705e7b20
authored
4 years ago
by
Dale Phurrough
Committed by
Alexander Alekhin
4 years ago
Browse files
Options
Download
Patches
Plain Diff
fix missing addref() in ocl::Context::create(str)
backported fix from PR 18907
parent
ea91f7e5
4.5.1-openvino
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/core/src/ocl.cpp
+1
-0
modules/core/src/ocl.cpp
with
1 addition
and
0 deletions
+1
-0
modules/core/src/ocl.cpp
+
1
−
0
View file @
705e7b20
...
...
@@ -2437,6 +2437,7 @@ public:
if
(
impl
)
{
CV_LOG_INFO
(
NULL
,
"OpenCL: reuse context@"
<<
impl
->
contextId
<<
" for configuration: "
<<
configuration
)
impl
->
addref
();
return
impl
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets