result for memory leak. added comment on the spot.