Problem: using :version twice leaks memory Solution: Only initialize variables once. (Dominique Pelle, closes #5917)