Revert "fix leak"

This reverts commit 757105e2a2.
This commit is contained in:
Anatol Belski 2016-06-21 14:58:15 +02:00
parent e8f2315a00
commit 9a9249a8d0

View File

@ -1011,13 +1011,6 @@ static void php_wddx_process_data(void *user_data, const XML_Char *s, int len)
break;
case ST_BOOLEAN:
if (IS_UNDEF == Z_TYPE(ent->data)) {
if (ent->varname) {
efree(ent->varname);
ent->varname = NULL;
}
break;
}
if (!strcmp((char *)s, "true")) {
Z_LVAL(ent->data) = 1;
} else if (!strcmp((char *)s, "false")) {