fixed memory leaks from unit-test LogDetEstimator.Sparse_sample #1989
Merge pull request #1992 from sunil1337/memleak

fixed memory leaks from unit-test LogDetEstimator.Sparse_sample #1989