From: Antony Dovgal Date: Wed, 27 Jun 2007 12:48:44 +0000 (+0000) Subject: fix ZTS build X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~370 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f28ea3269ba6b6bcf57c2ec3f853771c038eb155;p=php fix ZTS build --- diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 50ed7b011b..a8de2705c4 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -2274,6 +2274,8 @@ static void increment_unicode(zval *str) int ch; if (Z_USTRLEN_P(str) == 0) { + TSRMLS_FETCH(); + USTR_FREE(Z_USTRVAL_P(str)); ZVAL_ASCII_STRINGL(str, "1", sizeof("1")-1, 1); return;