Eliminate memory leak introduced in svn 23595 (causing data test to crash)

Issue#: CODE-2501


git-svn-id: svn+ssh://svn.code.sf.net/p/pcgen/code/Trunk@23610 ef53c05b-3124-4d59-ae7d-fe3273f42be7