Demo project for memory leaks issue