diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/ad/ad_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ad/ad_init.c b/src/providers/ad/ad_init.c index bc811e81..5c6b6f5c 100644 --- a/src/providers/ad/ad_init.c +++ b/src/providers/ad/ad_init.c @@ -129,7 +129,7 @@ sssm_ad_id_init(struct be_ctx *bectx, } ad_ctx = talloc_zero(ad_options, struct ad_id_ctx); - if (!ad_options) { + if (ad_ctx == NULL) { return ENOMEM; } ad_ctx->ad_options = ad_options; |