Fix iconv handle leak

git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3723 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
martin 2009-09-14 08:53:38 +00:00
parent 6a48771ce1
commit 17593afa60
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ sc_pkcs15emu_esteid_init (sc_pkcs15_card_t * p15card)
if (result == (size_t) -1)
return SC_ERROR_INTERNAL;
*outptr = '\0';
iconv_close(iso_utf);
snprintf(label, sizeof(label), "%s %s", name1, name2);
set_string (&p15card->label, label);
#endif