tree: fix invalid free
-rw-r--r-- 67 .gitignore
-rw-r--r-- 332 Makefile
-rw-r--r-- 384 common.h
-rw-r--r-- 376 libatomic.cc
-rw-r--r-- 619 libatomic.h
-rw-r--r-- 914 libthreads.cc
-rw-r--r-- 338 libthreads.h
-rw-r--r-- 794 malloc.c
-rw-r--r-- 1999 model.cc
-rw-r--r-- 1245 model.h
-rw-r--r-- 379 schedule.cc
-rw-r--r-- 314 schedule.h
-rw-r--r-- 2791 threads.cc
-rw-r--r-- 833 threads.h
-rw-r--r-- 912 tree.cc
-rw-r--r-- 738 tree.h
-rw-r--r-- 542 userprog.c