Fixed memory leak,ESBJAVA-3056