Removed double line -- thx Nils
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2332 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
38b9c7e565
commit
5b903845d7
|
@ -1042,7 +1042,6 @@ int _sc_add_atr(sc_context_t *ctx, struct sc_card_driver *driver, struct sc_atr_
|
||||||
memset(dst, 0, sizeof(*dst));
|
memset(dst, 0, sizeof(*dst));
|
||||||
memset(&driver->atr_map[driver->natrs], 0, sizeof(struct sc_atr_table));
|
memset(&driver->atr_map[driver->natrs], 0, sizeof(struct sc_atr_table));
|
||||||
dst->atr = strdup(src->atr);
|
dst->atr = strdup(src->atr);
|
||||||
dst->atr = strdup(src->atr);
|
|
||||||
if (!dst->atr)
|
if (!dst->atr)
|
||||||
return SC_ERROR_OUT_OF_MEMORY;
|
return SC_ERROR_OUT_OF_MEMORY;
|
||||||
if (src->atrmask) {
|
if (src->atrmask) {
|
||||||
|
|
Loading…
Reference in New Issue