diff options
author | Anders Carlsson <andersca@codefactory.se> | 2003-01-26 01:30:11 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@codefactory.se> | 2003-01-26 01:30:11 +0000 |
commit | 42788678e83ec1d82f048f86aff04017b58f072e (patch) | |
tree | c8a7a86e0c3cb1ed338a85c4a987690f1e288685 /dbus/dbus-auth.c | |
parent | 5fbace55488af10cff74218954405e4c1d0c856b (diff) |
2003-01-26 Anders Carlsson <andersca@codefactory.se>
* 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.
Diffstat (limited to 'dbus/dbus-auth.c')
-rw-r--r-- | dbus/dbus-auth.c | 9 |
1 files changed, 7 insertions, 2 deletions
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); |