You still need to delete MCstacknames - after freeing all the strings within it (as MCstacknames is a block of memory - a pointer to a list of MCStringRef's)