add memory leak UT