aboutsummaryrefslogtreecommitdiffstats
path: root/scd/command.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-06-07 19:09:18 +0000
committerWerner Koch <[email protected]>2005-06-07 19:09:18 +0000
commit33701641829798ddd7fced64cf9a504cc5f48cc1 (patch)
treea2a787141e9fa5ff1cedd913bd2d3950750503ce /scd/command.c
parent2005-06-04 Marcus Brinkmann <[email protected]> (diff)
downloadgnupg-33701641829798ddd7fced64cf9a504cc5f48cc1.tar.gz
gnupg-33701641829798ddd7fced64cf9a504cc5f48cc1.zip
New debugging optionhs, updates to the manual.
Diffstat (limited to '')
-rw-r--r--scd/command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scd/command.c b/scd/command.c
index 287f8c921..a308078d3 100644
--- a/scd/command.c
+++ b/scd/command.c
@@ -70,7 +70,7 @@ struct server_local_s {
struct server_local_s *next_session;
/* This object is usually assigned to a CTRL object (which is
- globally visible). While enumeratin all sessions we sometimes
+ globally visible). While enumerating all sessions we sometimes
need to access data of the CTRL object; thus we keep a
backpointer here. */
ctrl_t ctrl_backlink;
@@ -860,6 +860,7 @@ cmd_getattr (assuan_context_t ctx, char *line)
/* FIXME: Applications should not return sensistive data if the card
is locked. */
rc = app_getattr (ctrl->app_ctx, ctrl, keyword);
+ xfree (keyword);
TEST_CARD_REMOVAL (ctrl, rc);
return map_to_assuan_status (rc);