Fix variable 'r' global leak