* Fixed "typename" bug in src/alldai.cpp and fixed a memory leak