summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/winbindd/winbindd_cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index 62a68aa8aa..9602a128a6 100644
--- a/source3/winbindd/winbindd_cache.c
+++ b/source3/winbindd/winbindd_cache.c
@@ -2362,8 +2362,9 @@ bool initialize_winbindd_cache(void)
void close_winbindd_cache()
{
- if (!wcache)
+ if (!wcache) {
return;
+ }
if (wcache->tdb) {
tdb_close(wcache->tdb);
wcache->tdb = NULL;