Fixed useless or duplicated IS_INTERNED() checks

This commit is contained in:
Dmitry Stogov 2014-09-19 15:41:01 +04:00
parent 3ec7c28084
commit 3bc8a958c5
32 changed files with 79 additions and 76 deletions

View file

@ -813,7 +813,7 @@ static zval *to_zval_hexbin(zval *ret, encodeTypePtr type, xmlNodePtr data TSRML
}
}
str->val[str->len] = '\0';
ZVAL_STR(ret, str);
ZVAL_NEW_STR(ret, str);
} else {
ZVAL_EMPTY_STRING(ret);
}