Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
seo young Joung
opencv
Commits
705e7b20
Commit
705e7b20
authored
4 years ago
by
Dale Phurrough
Committed by
Alexander Alekhin
4 years ago
Browse files
Options
Download
Email 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
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help