Another memleak in space_main.c