Static memory leaks sample