diff options
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ipa/ipa_subdomains.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c index 98fc69f1..95a11198 100644 --- a/src/providers/ipa/ipa_subdomains.c +++ b/src/providers/ipa/ipa_subdomains.c @@ -216,6 +216,9 @@ static errno_t ipa_subdom_store(struct sss_domain_info *domain, int ret; tmp_ctx = talloc_new(domain); + if (tmp_ctx == NULL) { + return ENOMEM; + } ret = sysdb_attrs_get_string(attrs, IPA_CN, &name); if (ret != EOK) { |