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
margo
Commits
b3f12b8c
Commit
b3f12b8c
authored
May 03, 2016
by
Jonathan Jenkins
Browse files
malloc typo
parent
942c1e3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/margo-timer.c
View file @
b3f12b8c
...
...
@@ -44,7 +44,7 @@ int margo_timer_instance_init(
if
(
timer_inst_table_size
>=
MAX_TIMER_INSTANCES
)
return
(
-
1
);
timer_inst
=
malloc
(
sizeof
(
timer_inst
));
timer_inst
=
malloc
(
sizeof
(
*
timer_inst
));
if
(
!
timer_inst
)
return
(
-
1
);
...
...
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