Lines Matching refs:hold
3095 multival_t *hold; in multival_new() local
3097 hold = calloc(1, sizeof (multival_t)); in multival_new()
3098 if (hold == NULL) { in multival_new()
3103 return (hold); /* NULL -> error */ in multival_new()
3148 clientopts_t *hold; in clientopts_new() local
3150 hold = calloc(1, sizeof (clientopts_t)); in clientopts_new()
3151 if (NULL == hold) { in clientopts_new()
3154 return (hold); /* NULL -> error */ in clientopts_new()
3157 hold->serviceAuthenticationMethod = multival_new(); in clientopts_new()
3158 if (NULL == hold->serviceAuthenticationMethod) { in clientopts_new()
3161 free(hold); in clientopts_new()
3165 hold->serviceCredentialLevel = multival_new(); in clientopts_new()
3166 if (NULL == hold->serviceCredentialLevel) { in clientopts_new()
3169 multival_free(hold->serviceAuthenticationMethod); in clientopts_new()
3170 free(hold); in clientopts_new()
3174 hold->objectclassMap = multival_new(); in clientopts_new()
3175 if (NULL == hold->objectclassMap) { in clientopts_new()
3178 multival_free(hold->serviceAuthenticationMethod); in clientopts_new()
3179 multival_free(hold->serviceCredentialLevel); in clientopts_new()
3180 free(hold); in clientopts_new()
3184 hold->attributeMap = multival_new(); in clientopts_new()
3185 if (NULL == hold->attributeMap) { in clientopts_new()
3188 multival_free(hold->serviceAuthenticationMethod); in clientopts_new()
3189 multival_free(hold->serviceCredentialLevel); in clientopts_new()
3190 multival_free(hold->objectclassMap); in clientopts_new()
3191 free(hold); in clientopts_new()
3195 hold->serviceSearchDescriptor = multival_new(); in clientopts_new()
3196 if (NULL == hold->serviceSearchDescriptor) { in clientopts_new()
3199 multival_free(hold->serviceAuthenticationMethod); in clientopts_new()
3200 multival_free(hold->serviceCredentialLevel); in clientopts_new()
3201 multival_free(hold->objectclassMap); in clientopts_new()
3202 multival_free(hold->attributeMap); in clientopts_new()
3203 free(hold); in clientopts_new()
3207 return (hold); in clientopts_new()