Fix memory leak for test driver
Merge pull request #2488 from ksss/leak-test

Fix memory leak for test driver