Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
dec53607
authored
Jan 29, 2015
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
base_cpp: closure was allocated with Allocation::New but deleted with operator delete
parent
10f8e503
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
base_cpp/include/embb/base/internal/thread-inl.h
+1
-1
No files found.
base_cpp/include/embb/base/internal/thread-inl.h
View file @
dec53607
...
@@ -88,7 +88,7 @@ template<typename ThreadClosure>
...
@@ -88,7 +88,7 @@ template<typename ThreadClosure>
void
Thread
::
CheckThreadCreationErrors
(
int
result
,
ThreadClosure
*
closure
)
{
void
Thread
::
CheckThreadCreationErrors
(
int
result
,
ThreadClosure
*
closure
)
{
if
(
result
!=
EMBB_SUCCESS
)
{
if
(
result
!=
EMBB_SUCCESS
)
{
if
(
closure
!=
NULL
)
{
if
(
closure
!=
NULL
)
{
delete
closure
;
Allocation
::
Delete
(
closure
)
;
}
}
const
char
*
message
=
"Could not create thread."
;
const
char
*
message
=
"Could not create thread."
;
if
(
result
==
EMBB_NOMEM
)
{
if
(
result
==
EMBB_NOMEM
)
{
...
...
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