It happens with the above code without flip, and also in my game, with flip.
Edit: adding a Flip to the above code slows down the memory leak but it is still there.
Edit: adding a Flip to the above code slows down the memory leak but it is still there.