Fixed several memory leaks.
-rw-r--r-- 49 .gitignore
-rw-r--r-- 140 CMakeLists.txt
-rw-r--r-- 219 Makefile
drwxr-xr-x - src
drwxr-xr-x - test