Commit b3f12b8c authored by Jonathan Jenkins's avatar Jonathan Jenkins

malloc typo

parent 942c1e3e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment