Fix memory leak in tests (Closes: bug #1828459)
Fix memory leak in tests (Closes: bug #1828459)

cc-archive/svn-liblicense,cc-archive/svn-liblicense,cc-archive/svn-liblicense,cc-archive/svn-liblicense,cc-archive/svn-liblicense,cc-archive/svn-liblicense