Fix memory leak when caching rotsprite

Merge request reports

Loading