754
754
* or stop events, so this allocation is safe. XXX: make the
755
755
* event type a union so it doesn't always contain the skip
762
759
return CAIRO_STATUS_NO_MEMORY;
764
762
event_queue->startstop_events = events;
765
763
event_queue->sorted_startstop_event_ptrs = sorted_event_ptrs;
767
765
event_queue->next_startstop_event_index = 0;
769
767
for (i = 0; i < num_edges; i++) {