return AUTOFILL_ERROR_OUT_OF_MEMORY;
if (!handle) {
- LOGW("[ERROR] Failed to create autofill_item handle");
+ LOGW("[ERROR] Failed to create autofill fill response item handle");
return AUTOFILL_ERROR_OUT_OF_MEMORY;
}
if (it->id) {
handle->id = strdup(it->id);
if (!handle->id) {
- LOGW("[ERROR] Failed to duplicate it->id");
+ LOGW("[ERROR] Failed to duplicate id");
autofill_fill_response_item_destroy(handle);
return AUTOFILL_ERROR_OUT_OF_MEMORY;
}
if (it->presentation_text) {
handle->presentation_text = strdup(it->presentation_text);
if (!handle->presentation_text) {
- LOGW("[ERROR] Failed to duplicate it->presentation_text");
+ LOGW("[ERROR] Failed to duplicate presentation text");
autofill_fill_response_item_destroy(handle);
return AUTOFILL_ERROR_OUT_OF_MEMORY;
}
if (it->value) {
handle->value = strdup(it->value);
if (!handle->value) {
- LOGW("[ERROR] Failed to duplicate it->value");
+ LOGW("[ERROR] Failed to duplicate value");
autofill_fill_response_item_destroy(handle);
return AUTOFILL_ERROR_OUT_OF_MEMORY;
}
autofill_item_create(&handle);
if (!handle) {
- LOGW("[ERROR] Failed to create autofill_item handle");
+ LOGW("[ERROR] Failed to create autofill item handle");
return AUTOFILL_ERROR_OUT_OF_MEMORY;
}
if (h->id) {
handle->id = strdup(h->id);
if (!handle->id) {
- LOGW("[ERROR] Failed to duplicate h->id");
+ LOGW("[ERROR] Failed to duplicate id");
autofill_item_destroy(handle);
return AUTOFILL_ERROR_OUT_OF_MEMORY;
}
if (h->label) {
handle->label = strdup(h->label);
if (!handle->label) {
- LOGW("[ERROR] Failed to duplicate h->label");
+ LOGW("[ERROR] Failed to duplicate label");
autofill_item_destroy(handle);
return AUTOFILL_ERROR_OUT_OF_MEMORY;
}
if (h->value) {
handle->value = strdup(h->value);
if (!handle->value) {
- LOGW("[ERROR] Failed to duplicate h->value");
+ LOGW("[ERROR] Failed to duplicate value");
autofill_item_destroy(handle);
return AUTOFILL_ERROR_OUT_OF_MEMORY;
}
if (it->id) {
handle->id = strdup(it->id);
if (!handle->id) {
- LOGW("[ERROR] Failed to duplicate it->id");
+ LOGW("[ERROR] Failed to duplicate id");
autofill_save_item_destroy(handle);
return AUTOFILL_ERROR_OUT_OF_MEMORY;
}
if (it->label) {
handle->label = strdup(it->label);
if (!handle->label) {
- LOGW("[ERROR] Failed to duplicate it->label");
+ LOGW("[ERROR] Failed to duplicate label");
autofill_save_item_destroy(handle);
return AUTOFILL_ERROR_OUT_OF_MEMORY;
}
if (it->value) {
handle->value = strdup(it->value);
if (!handle->value) {
- LOGW("[ERROR] Failed to duplicate it->value");
+ LOGW("[ERROR] Failed to duplicate value");
autofill_save_item_destroy(handle);
return AUTOFILL_ERROR_OUT_OF_MEMORY;
}