mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed reference-counting
This commit is contained in:
parent
dc3822c343
commit
7c96e974d9
1 changed files with 1 additions and 0 deletions
|
@ -1354,6 +1354,7 @@ static void model_to_zval_object(zval *ret, sdlContentModelPtr model, xmlNodePtr
|
|||
array_init(&array);
|
||||
add_next_index_zval(&array, &val);
|
||||
do {
|
||||
ZVAL_NULL(&val);
|
||||
if (node && node->children && node->children->content) {
|
||||
if (model->u.element->fixed && strcmp(model->u.element->fixed, (char*)node->children->content) != 0) {
|
||||
soap_error3(E_ERROR, "Encoding: Element '%s' has fixed value '%s' (value '%s' is not allowed)", model->u.element->name, model->u.element->fixed, node->children->content);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue