fixed some leaks
fixed errors reported by valgrind for $ daust list