summaryrefslogtreecommitdiffstats
path: root/common/simple-pwquery.c
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/simple-pwquery.c
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/simple-pwquery.c')
-rw-r--r--common/simple-pwquery.c2
1 files changed, 1 insertions, 1 deletions
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;
}