child array in component should be allocated on fork to have a 2-potential size

Signed-off-by: Mattias Andrée <maandree@operamail.com>