remove memory leak from example