summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-auth.c')
-rw-r--r--dbus/dbus-auth.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/dbus/dbus-auth.c b/dbus/dbus-auth.c
index 73454bc1..4b1f5504 100644
--- a/dbus/dbus-auth.c
+++ b/dbus/dbus-auth.c
@@ -322,9 +322,9 @@ _dbus_auth_new (int size)
enomem_3:
_dbus_string_free (&auth->identity);
enomem_2:
- _dbus_string_free (&auth->incoming);
- enomem_1:
_dbus_string_free (&auth->outgoing);
+ enomem_1:
+ _dbus_string_free (&auth->incoming);
enomem_0:
dbus_free (auth);
return NULL;
@@ -1863,7 +1863,9 @@ _dbus_auth_unref (DBusAuth *auth)
if (auth->keyring)
_dbus_keyring_unref (auth->keyring);
-
+
+ _dbus_string_free (&auth->context);
+ _dbus_string_free (&auth->challenge);
_dbus_string_free (&auth->identity);
_dbus_string_free (&auth->incoming);
_dbus_string_free (&auth->outgoing);