20131120 fix memory leak.