Commit f4d5e908 authored by Jonathan Jenkins's avatar Jonathan Jenkins

oops, uninitialized pointer

parent 6153f47e
......@@ -262,10 +262,12 @@ void rr_add (
q->remote_event = malloc(remote_event_size);
memcpy(q->remote_event, remote_event, remote_event_size);
}
else { q->remote_event = NULL; }
if (local_event_size > 0){
q->local_event = malloc(local_event_size);
memcpy(q->local_event, local_event, local_event_size);
}
else{ q->local_event = NULL; }
mn_sched *s = sched;
qlist_add_tail(&q->ql, &s->reqs);
}
......
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