Skip to content

Commit

Permalink
Merged pull request #346
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Nov 12, 2017
2 parents 62ffd11 + df0ad45 commit f7a08bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xdebug_var.c
Original file line number Diff line number Diff line change
Expand Up @@ -2019,6 +2019,7 @@ xdebug_xml_node* xdebug_get_zval_value_xml_node_ex(char *name, zval *val, int va
xdebug_xml_node *node;
char *short_name = NULL;
char *full_name = NULL;
char *full_name_copy = NULL;

node = xdebug_xml_node_init("property");
options->force_extended = 0;
Expand Down Expand Up @@ -2046,9 +2047,12 @@ xdebug_xml_node* xdebug_get_zval_value_xml_node_ex(char *name, zval *val, int va
}

add_name_attribute_or_element(options, node, "name", 4, short_name, SIZE_MAX);

full_name_copy = xdstrdup(full_name);
add_name_attribute_or_element(options, node, "fullname", 8, full_name, SIZE_MAX);
}
xdebug_var_export_xml_node(&val, full_name, node, options, 0 TSRMLS_CC);
xdebug_var_export_xml_node(&val, full_name_copy, node, options, 0 TSRMLS_CC);
xdfree(full_name_copy);

return node;
}
Expand Down

0 comments on commit f7a08bc

Please sign in to comment.