split: fixed list allocation
split: fixed list allocation

oops, forgot to alloc enough space for terminating NULL pointer...
and forgot to set the terminating NULL.
fxed both.

rclasen/srmio,rclasen/srmio,rclasen/srmio,rclasen/srmio