memory leak fixed

memory leak fixed