Skip to content

Commit 39b99b8

Browse files
committed
Fix ZTS failure
1 parent 95967b5 commit 39b99b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/bcmath/bcmath.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,13 @@ static PHP_GSHUTDOWN_FUNCTION(bcmath)
193193

194194
static PHP_RINIT_FUNCTION(bcmath)
195195
{
196-
bcmath_lru_init(&bcmath_globals.lru_cache);
196+
bcmath_lru_init(&BCG(lru_cache));
197197
return SUCCESS;
198198
}
199199

200200
static PHP_RSHUTDOWN_FUNCTION(bcmath)
201201
{
202-
bcmath_lru_destroy(&bcmath_globals.lru_cache);
202+
bcmath_lru_destroy(&BCG(lru_cache));
203203
return SUCCESS;
204204
}
205205

0 commit comments

Comments
 (0)