trees free of memory errors and leaks :)