Searched refs:value_copy (Results 1 – 1 of 1) sorted by relevance
4099 char **value_copy; in libhal_changeset_set_property_strlist() local4120 value_copy = calloc (len + 1, sizeof (char *)); in libhal_changeset_set_property_strlist()4121 if (value_copy == NULL) { in libhal_changeset_set_property_strlist()4129 value_copy[i] = strdup (value[i]); in libhal_changeset_set_property_strlist()4130 if (value_copy[i] == NULL) { in libhal_changeset_set_property_strlist()4132 free (value_copy[j]); in libhal_changeset_set_property_strlist()4134 free (value_copy); in libhal_changeset_set_property_strlist()4141 value_copy[i] = NULL; in libhal_changeset_set_property_strlist()4144 elem->value.val_strlist = value_copy; in libhal_changeset_set_property_strlist()