free latest_release regardless of its validity

This should address the small memory leak that @jite pointed out in issue #424.