diff options
author | Anders Carlsson <andersca@codefactory.se> | 2003-03-04 23:00:19 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@codefactory.se> | 2003-03-04 23:00:19 +0000 |
commit | 25d00e5badfe8a7822ce934f46f87b4b768f1011 (patch) | |
tree | 8bd05baa577633e53a787749aac0226cb1c090b0 /dbus/dbus-keyring.c | |
parent | ea4bf5322b6b282cf1a334d26cb86d2aa500d603 (diff) |
2003-03-05 Anders Carlsson <andersca@codefactory.se>
* dbus/dbus-auth.c: (send_rejected), (process_test_subdir):
* dbus/dbus-keyring.c: (_dbus_keyring_new_homedir),
(_dbus_keyring_test):
* dbus/dbus-md5.c: (_dbus_md5_compute):
* dbus/dbus-sha.c: (_dbus_sha_compute):
Plug memory leaks.
Diffstat (limited to 'dbus/dbus-keyring.c')
-rw-r--r-- | dbus/dbus-keyring.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dbus/dbus-keyring.c b/dbus/dbus-keyring.c index 2162e296..d4aae2fb 100644 --- a/dbus/dbus-keyring.c +++ b/dbus/dbus-keyring.c @@ -733,6 +733,8 @@ _dbus_keyring_new_homedir (const DBusString *username, &keyring->directory, 0)) goto failed; + _dbus_string_free (&homedir); + if (!_dbus_concat_dir_and_file (&keyring->directory, &dotdir)) goto failed; @@ -1012,6 +1014,9 @@ _dbus_keyring_test (void) } printf (" %d keys in test\n", ring1->n_keys); + + _dbus_keyring_unref (ring1); + _dbus_keyring_unref (ring2); return TRUE; |