diff options
author | Werner Koch <wk@gnupg.org> | 2021-05-21 09:13:50 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2021-05-21 09:23:04 +0200 |
commit | 260bbb4ab27eab0a8d4fb68592b0d1c20d80179c (patch) | |
tree | ed82eed176cce64fba56afc8d1b9b8741b9791cd /g10 | |
parent | sm: Let --dump-cert --show-cert also print an OpenPGP fingerprint. (diff) | |
download | gnupg2-260bbb4ab27eab0a8d4fb68592b0d1c20d80179c.tar.xz gnupg2-260bbb4ab27eab0a8d4fb68592b0d1c20d80179c.zip |
common: Annotate leaked memory in homedir.c
* g10/trustdb.c (how_to_fix_the_trustdb): Use gnupg_homedir.
* common/homedir.c (standard_homedir): Annotate leaked memory.
(gnupg_daemon_rootdir): Ditto.
(gnupg_socketdir): Ditto.
(gnupg_sysconfdir): Ditto.
(gnupg_bindir): Ditto.
(gnupg_libdir): Ditto.
(gnupg_datadir): Ditto.
(gnupg_localedir): Ditto.
(gnupg_cachedir): Ditto.
(gpg_agent_socket_name): Ditto.
(dirmngr_socket_name): Ditto.
(keyboxd_socket_name): Ditto.
(get_default_pinentry_name): Ditto.
(gnupg_module_name): Ditto.
(default_homedir): Ditto. Make static.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'g10')
-rw-r--r-- | g10/trustdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c index 9ef4644bf..bf74c9864 100644 --- a/g10/trustdb.c +++ b/g10/trustdb.c @@ -479,7 +479,7 @@ how_to_fix_the_trustdb () name = "trustdb.gpg"; log_info (_("You may try to re-create the trustdb using the commands:\n")); - log_info (" cd %s\n", default_homedir ()); + log_info (" cd %s\n", gnupg_homedir ()); log_info (" %s --export-ownertrust > otrust.tmp\n", GPG_NAME); #ifdef HAVE_W32_SYSTEM log_info (" del %s\n", name); |