mirror of
https://github.com/php/php-src.git
synced 2025-01-27 06:03:45 +08:00
Fixed memory leaks
This commit is contained in:
parent
33c731d94f
commit
2614d945f8
@ -209,6 +209,7 @@ static void _free_ereg_cache(zval *zv)
|
||||
{
|
||||
reg_cache *rc = Z_PTR_P(zv);
|
||||
regfree(&rc->preg);
|
||||
free(rc);
|
||||
}
|
||||
|
||||
#undef regfree
|
||||
|
Loading…
Reference in New Issue
Block a user