[#12] Fixed memory leaks in DBSuite.