Add explicit code to clean up GMP structure when done.
Merge pull request #631 from hildeth/gmpMem

Add explicit code to clean up GMP structures when done.

This was the only remaining test that leaked GMP memory.