Skip to content

Commit

Permalink
Fix ZTS failure
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdos committed May 4, 2024
1 parent 95967b5 commit 39b99b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/bcmath/bcmath.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,13 @@ static PHP_GSHUTDOWN_FUNCTION(bcmath)

static PHP_RINIT_FUNCTION(bcmath)
{
bcmath_lru_init(&bcmath_globals.lru_cache);
bcmath_lru_init(&BCG(lru_cache));
return SUCCESS;
}

static PHP_RSHUTDOWN_FUNCTION(bcmath)
{
bcmath_lru_destroy(&bcmath_globals.lru_cache);
bcmath_lru_destroy(&BCG(lru_cache));
return SUCCESS;
}

Expand Down

0 comments on commit 39b99b8

Please sign in to comment.