Deletes dynamically allocated array instead of single pointer