IS2: fix memory leak