summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-auth.c
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@codefactory.se>2003-03-04 23:00:19 +0000
committerAnders Carlsson <andersca@codefactory.se>2003-03-04 23:00:19 +0000
commit25d00e5badfe8a7822ce934f46f87b4b768f1011 (patch)
tree8bd05baa577633e53a787749aac0226cb1c090b0 /dbus/dbus-auth.c
parentea4bf5322b6b282cf1a334d26cb86d2aa500d603 (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-auth.c')
-rw-r--r--dbus/dbus-auth.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbus/dbus-auth.c b/dbus/dbus-auth.c
index c4e1c5e8..f078136c 100644
--- a/dbus/dbus-auth.c
+++ b/dbus/dbus-auth.c
@@ -617,6 +617,8 @@ send_rejected (DBusAuth *auth)
_dbus_assert (DBUS_AUTH_IS_SERVER (auth));
server_auth = DBUS_AUTH_SERVER (auth);
server_auth->failures += 1;
+
+ _dbus_string_free (&command);
return TRUE;
@@ -1674,6 +1676,7 @@ process_test_subdir (const DBusString *test_base_dir,
_dbus_string_get_const_data (&filename, &filename_c);
_dbus_verbose ("Skipping non-.auth-script file %s\n",
filename_c);
+ _dbus_string_free (&full_path);
goto next;
}