From 326f4fc3125e155ee2d484fe921aafddd6b5a49d Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Mon, 24 Sep 2012 14:21:53 +0200 Subject: sdap_add_incomplete_groups(): fix ret may be uninitialized warning --- src/providers/ldap/sdap_async_initgroups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/providers/ldap/sdap_async_initgroups.c') 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; } -- cgit