Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
aml
Commits
df690221
Commit
df690221
authored
Jul 29, 2020
by
Swann Perarnau
Browse files
[fix] aml_active_sched_destroy never working
return-early test always succeeding for the wrong raison.
parent
52cc2dec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/utils/async.c
View file @
df690221
...
@@ -409,7 +409,7 @@ void aml_active_sched_destroy(struct aml_sched **sched)
...
@@ -409,7 +409,7 @@ void aml_active_sched_destroy(struct aml_sched **sched)
{
{
struct
aml_active_sched
*
data
;
struct
aml_active_sched
*
data
;
if
(
sched
==
NULL
||
*
sched
!
=
NULL
)
if
(
sched
==
NULL
||
*
sched
=
=
NULL
)
return
;
return
;
data
=
(
struct
aml_active_sched
*
)
(
*
sched
)
->
data
;
data
=
(
struct
aml_active_sched
*
)
(
*
sched
)
->
data
;
...
...
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