Home GnuPG
Diffusion GnuPG 5d1b41310682

scd: Fix memory leak for RDRNAME and serialize access.

Description

scd: Fix memory leak for RDRNAME and serialize access.

* scd/apdu.c (close_pcsc_reader): Move locking to...
(apdu_close_reader): ... here, as it's also needed for CCID driver.
Free RDRNAME when closed.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 7 2021, 3:48 AM
Parents
rG039aed9d401f: scd: Fix declarations for PC/SC access.
Branches
Unknown
Tags
Unknown