Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
sds-tests
Commits
d107f818
Commit
d107f818
authored
Sep 28, 2018
by
Philip Carns
Browse files
fix use-after-free bug
parent
3a5a42eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
perf-regression/margo-p2p-bw.c
View file @
d107f818
...
...
@@ -509,13 +509,14 @@ static void bw_ult(hg_handle_t handle)
margo_destroy
(
handle
);
free
(
tid_array
);
free
(
arg_array
);
ABT_mutex_free
(
&
cur_off_mutex
);
if
(
arg_array
[
0
].
op
==
HG_BULK_PUSH
)
ABT_eventual_set
(
g_bw_done_eventual
,
NULL
,
0
);
free
(
arg_array
);
return
;
}
DEFINE_MARGO_RPC_HANDLER
(
bw_ult
)
...
...
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!
Cancel
Please
register
or
sign in
to comment