summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2005-04-11 00:12:31 +0200
committerMarcus Brinkmann <mb@g10code.com>2005-04-11 00:12:31 +0200
commitc5b1095b6d8af68e40883ebc28c30407ddb7140e (patch)
treeb64fbfc72fd6d85f2213761c7610e5bbd48c17ae /common
parent2005-04-03 Moritz Schulte <moritz@g10code.com> (diff)
downloadgnupg2-c5b1095b6d8af68e40883ebc28c30407ddb7140e.tar.xz
gnupg2-c5b1095b6d8af68e40883ebc28c30407ddb7140e.zip
2005-04-11 Marcus Brinkmann <marcus@g10code.de>
* simple-pwquery.c (simple_pwquery): Use spwq_secure_free.
Diffstat (limited to 'common')
-rw-r--r--common/ChangeLog4
-rw-r--r--common/simple-pwquery.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/common/ChangeLog b/common/ChangeLog
index e9bb42a57..f5c5c0982 100644
--- a/common/ChangeLog
+++ b/common/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-11 Marcus Brinkmann <marcus@g10code.de>
+
+ * simple-pwquery.c (simple_pwquery): Use spwq_secure_free.
+
2005-03-03 Werner Koch <wk@g10code.com>
* Makefile.am (AM_CFLAGS): Added PTH_CFLAGS. Noted by Kazu Yamamoto.
diff --git a/common/simple-pwquery.c b/common/simple-pwquery.c
index 37a45816c..8a027e799 100644
--- a/common/simple-pwquery.c
+++ b/common/simple-pwquery.c
@@ -541,7 +541,7 @@ simple_pwquery (const char *cacheid,
if (fd != -1)
close (fd);
if (pw)
- spwq_free (pw);
+ spwq_secure_free (pw);
return result;
}