diff options
Diffstat (limited to 'ext/wddx/wddx.c')
-rw-r--r-- | ext/wddx/wddx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c index 9394a59e27..72d2408c1f 100644 --- a/ext/wddx/wddx.c +++ b/ext/wddx/wddx.c @@ -1057,7 +1057,7 @@ static void php_wddx_pop_element(void *user_data, const XML_Char *name) } else { zend_hash_next_index_insert(target_hash, &ent1->data, sizeof(zval *), NULL); } - } else if (!strcmp(name, EL_BINARY) && STR_EMPTY_ALLOC() == Z_STRVAL_P(ent1->data)) { + } else if (!strcmp(name, EL_BINARY) && Z_STRLEN_P(ent1->data) < 1) { zval_ptr_dtor(&ent1->data); } efree(ent1); |