summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-09-24 14:21:53 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-09-24 15:03:09 +0200
commit326f4fc3125e155ee2d484fe921aafddd6b5a49d (patch)
tree940d7a99a2c76356fb2f059959c4fcffb8340bae
parentd0e0e73e86f2afdb7f8fefbed70fda8d77b1c25a (diff)
downloadsssd-326f4fc3125e155ee2d484fe921aafddd6b5a49d.tar.gz
sssd-326f4fc3125e155ee2d484fe921aafddd6b5a49d.tar.bz2
sssd-326f4fc3125e155ee2d484fe921aafddd6b5a49d.zip
sdap_add_incomplete_groups(): fix ret may be uninitialized warning
-rw-r--r--src/providers/ldap/sdap_async_initgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c
index 71b4536b..6936c7b5 100644
--- a/src/providers/ldap/sdap_async_initgroups.c
+++ b/src/providers/ldap/sdap_async_initgroups.c
@@ -82,7 +82,7 @@ static errno_t sdap_add_incomplete_groups(struct sysdb_ctx *sysdb,
/* All groups are cached, nothing to do */
if (mi == 0) {
- talloc_zfree(tmp_ctx);
+ ret = EOK;
goto done;
}