I was wrong; my memory leak fix only 'fixed' it by introducing an exception