Uninitialized pointer read in ipa-enrollment

This patch fixes a situation where an uninitialized pointer
is passed to free().

https://fedorahosted.org/freeipa/ticket/713
This commit is contained in:
Martin Kosek authored and Rob Crittenden committed 2011-01-12 11:41:42 -05:00
1 parent 1ea31a0cff
commit eba72c85e8
1 file changed
+1 -1
@@ -141,7 +141,7 @@ ipa_join(Slapi_PBlock *pb)
char * filter;
int scope = LDAP_SCOPE_SUBTREE;
char *principal;
char *principal = NULL;
struct berval retbval;
/* Get Bind DN */