1
0
mirror of https://github.com/php/php-src.git synced 2026-04-08 08:33:06 +02:00

- Wrong fix

This commit is contained in:
Zeev Suraski
2000-03-22 18:43:25 +00:00
parent 4d68c944d9
commit 2e68fc59e3

View File

@@ -907,9 +907,9 @@ ZEND_API int concat_function(zval *result, zval *op1, zval *op2)
memcpy(result->value.str.val+op1->value.str.len, op2->value.str.val,op2->value.str.len);
result->value.str.val[result->value.str.len] = 0;
result->type = IS_STRING;
if (use_copy1) {
zval_dtor(op1);
}
}
if (use_copy1) {
zval_dtor(op1);
}
if (use_copy2) {
zval_dtor(op2);