Lines Matching refs:sgl_out
148 util_compare_subgroup_t *sgl_out = NULL;
154 sgl_out = (util_compare_subgroup_t *) util_ald_alloc(cache, sizeof(util_compare_subgroup_t));
155 if (sgl_out) {
156 sgl_out->subgroupDNs = util_ald_alloc(cache, sizeof(char *) * sgl_in->len);
157 if (sgl_out->subgroupDNs) {
159 sgl_out->subgroupDNs[i] = util_ald_strdup(cache, sgl_in->subgroupDNs[i]);
160 if (!sgl_out->subgroupDNs[i]) {
163 util_ald_free(cache, sgl_out->subgroupDNs[i]);
165 util_ald_free(cache, sgl_out->subgroupDNs);
166 util_ald_free(cache, sgl_out);
167 sgl_out = NULL;
172 if (sgl_out != NULL) {
173 sgl_out->len = sgl_in->len;
178 return sgl_out;