Fixed it for you

Array needs to be a pointer to a pointer because you're filling it with
pointers to objects.