Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Elsa Gonsiorowski
codes
Commits
b53fe566
Commit
b53fe566
authored
Feb 20, 2014
by
Jonathan Jenkins
Browse files
null out hash table to prevent use-after-free
parent
c49d786a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/workload/codes-darshan-io-wrkld.c
View file @
b53fe566
...
...
@@ -222,8 +222,10 @@ static void darshan_io_workload_get_next(int rank, struct codes_workload_op *op)
free
(
tmp
);
rank_tbl_pop
--
;
if
(
!
rank_tbl_pop
)
if
(
!
rank_tbl_pop
)
{
qhash_finalize
(
rank_tbl
);
rank_tbl
=
NULL
;
}
}
else
{
...
...
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