diff options
Diffstat (limited to 'src/util/usertools.c')
-rw-r--r-- | src/util/usertools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/usertools.c b/src/util/usertools.c index 587fd9cb..7323d9f8 100644 --- a/src/util/usertools.c +++ b/src/util/usertools.c @@ -383,7 +383,7 @@ int sss_parse_name_for_domains(TALLOC_CTX *memctx, rdomain = NULL; if (default_domain != NULL) { rdomain = talloc_strdup(tmp_ctx, default_domain); - if (default_domain == NULL) { + if (rdomain == NULL) { DEBUG(SSSDBG_OP_FAILURE, ("talloc_strdup failed.\n")); ret = ENOMEM; goto done; |