[SSSD] [PATCH] Fix allocation check in the AD provider