Assigns slides pointer to realloc return