Robert Story - 2006-12-06

plug some memory leaks