Correct a typo.
Don't violate CA2000 - Dispose objects before losing scope.

Rationale: this code becomes part of the project where the package is
installed, so it's better if it does not violate any code analysis rules.