Fixed memory leaks

This commit is contained in:
Dmitry Stogov 2014-04-11 15:29:37 +04:00
parent 33c731d94f
commit 2614d945f8

View File

@ -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