From 42788678e83ec1d82f048f86aff04017b58f072e Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Sun, 26 Jan 2003 01:30:11 +0000 Subject: 2003-01-26 Anders Carlsson * dbus/dbus-auth.c: (process_auth), (_dbus_auth_unref): * dbus/dbus-connection.c: (_dbus_connection_new_for_transport), (dbus_connection_unref): * dbus/dbus-marshal.c: (_dbus_marshal_test): * dbus/dbus-message.c: (dbus_message_unref), Plug memory leaks. (dbus_message_get_fields): Remove debugging printout. (_dbus_message_loader_return_buffer): Don't store the header string. (_dbus_message_test): Plug leaks. --- dbus/dbus-auth.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'dbus/dbus-auth.c') diff --git a/dbus/dbus-auth.c b/dbus/dbus-auth.c index 032e49a8..dc73652b 100644 --- a/dbus/dbus-auth.c +++ b/dbus/dbus-auth.c @@ -714,7 +714,11 @@ process_auth (DBusAuth *auth, if (!send_mechanisms (auth)) return FALSE; } - + + _dbus_string_free (&mech); + _dbus_string_free (&base64_response); + _dbus_string_free (&decoded_response); + return TRUE; failed: @@ -1264,7 +1268,8 @@ _dbus_auth_unref (DBusAuth *auth) { _dbus_list_clear (& DBUS_AUTH_CLIENT (auth)->mechs_to_try); } - + + _dbus_string_free (&auth->identity); _dbus_string_free (&auth->incoming); _dbus_string_free (&auth->outgoing); dbus_free (auth); -- cgit