fix another memory leak.