summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap
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 /src/providers/ldap
parentd0e0e73e86f2afdb7f8fefbed70fda8d77b1c25a (diff)
downloadsssd-326f4fc3125e155ee2d484fe921aafddd6b5a49d.tar.gz
sssd-326f4fc3125e155ee2d484fe921aafddd6b5a49d.tar.xz
sssd-326f4fc3125e155ee2d484fe921aafddd6b5a49d.zip
sdap_add_incomplete_groups(): fix ret may be uninitialized warning
Diffstat (limited to 'src/providers/ldap')
-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 71b4536b3..6936c7b56 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;
}