From c5b1095b6d8af68e40883ebc28c30407ddb7140e Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 10 Apr 2005 22:12:31 +0000 Subject: [PATCH] 2005-04-11 Marcus Brinkmann * simple-pwquery.c (simple_pwquery): Use spwq_secure_free. --- common/ChangeLog | 4 ++++ common/simple-pwquery.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * simple-pwquery.c (simple_pwquery): Use spwq_secure_free. + 2005-03-03 Werner Koch * 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; }