memory leaks fixed.
Merge pull request #2342 from kislayabhi/unittest_old_lda

memory leaks fixed in LDA unittest