diff options
author | Havoc Pennington <hp@redhat.com> | 2003-05-05 03:13:35 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-05-05 03:13:35 +0000 |
commit | d1c7eefb66483c3ea4d9e7fb6dca23dcfac8cad5 (patch) | |
tree | d012f30757e2319ff1862f51d406291506be5b55 /dbus/dbus-auth-script.c | |
parent | 3d0dcbf536601e39d3d5125ed29f5afa217c9bf6 (diff) |
2003-05-04 Havoc Pennington <hp@pobox.com>
* dbus/dbus-message-handler.c (_dbus_message_handler_test): add
unit test
* dbus/dbus-marshal.c (_dbus_demarshal_string_array): fix this
function, which assumed length was in # of strings, not bytes
* dbus/dbus-message.c (_dbus_message_test): add tests for some
missing coverage
* dbus/dbus-connection.c
(_dbus_connection_queue_received_message): disable function for
now, we are only using it in test mode
* dbus/dbus-message.c (_dbus_message_loader_queue_messages):
remove a mistaken FIXME
Diffstat (limited to 'dbus/dbus-auth-script.c')
-rw-r--r-- | dbus/dbus-auth-script.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dbus/dbus-auth-script.c b/dbus/dbus-auth-script.c index d61ecb59..37f88900 100644 --- a/dbus/dbus-auth-script.c +++ b/dbus/dbus-auth-script.c @@ -278,6 +278,10 @@ _dbus_auth_script_run (const DBusString *filename) goto out; } + /* test ref/unref */ + _dbus_auth_ref (auth); + _dbus_auth_unref (auth); + _dbus_credentials_from_current_process (&creds); _dbus_auth_set_credentials (auth, &creds); } @@ -299,6 +303,10 @@ _dbus_auth_script_run (const DBusString *filename) goto out; } + /* test ref/unref */ + _dbus_auth_ref (auth); + _dbus_auth_unref (auth); + _dbus_credentials_from_current_process (&creds); _dbus_auth_set_credentials (auth, &creds); _dbus_auth_set_context (auth, &context); |