SceneShadow: Port potential memory leak fix from SceneRefract (detected in both
scenes during code review for that branch merge).
2 files changed