diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2014-06-27 16:08:47 +0200 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2014-06-27 16:26:11 +0200 |
commit | 47cd741204e4e537825f0cb146c4aae4f0736ac0 (patch) | |
tree | 212fa0df2f697ebcb3bc17e0a27da1caafb2b2f7 | |
parent | 64f75e30b41406debbff5633b17708c4d1993d90 (diff) | |
download | mod_lookup_identity-47cd741204e4e537825f0cb146c4aae4f0736ac0.tar.gz mod_lookup_identity-47cd741204e4e537825f0cb146c4aae4f0736ac0.tar.xz mod_lookup_identity-47cd741204e4e537825f0cb146c4aae4f0736ac0.zip |
Reinitialize the error structure after error.
Addressing
Error dbus calling GetUserGroups(admin, ): org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.sssd.infopipe was not provided by any .service files
process 2577: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "(error) == NULL || !dbus_error_is_set ((error))" failed in file dbus-connection.c line 3346.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
[notice] child pid 2577 exit signal Aborted (6), possible coredump in /etc/httpd
-rw-r--r-- | mod_lookup_identity.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod_lookup_identity.c b/mod_lookup_identity.c index eac1165..7349d72 100644 --- a/mod_lookup_identity.c +++ b/mod_lookup_identity.c @@ -300,6 +300,9 @@ static int lookup_identity_hook(request_rec * r) { if (reply) { dbus_message_unref(reply); } + if (dbus_error_is_set(&error)) { + dbus_error_free(&error); + } } if (the_config->output_user_attr) { apr_hash_t * seen = NULL; |