ticket:10331: Fix memory leak in data test

git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk/source@34260 251d0590-4201-4cf1-90de-194747b24ca1