Add forgotten `var` : fixes memory leak