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:
parent
6a48771ce1
commit
17593afa60
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue