diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-04-11 15:29:37 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-04-11 15:29:37 +0400 |
commit | 2614d945f8c6bd9510f2d145b5c9ee0f3fc093cc (patch) | |
tree | be7ffcee928aab03efc90553a85bf31f30f722c5 /ext/ereg | |
parent | 33c731d94f236aacd16cc1383f13d985e429b773 (diff) | |
download | php-git-2614d945f8c6bd9510f2d145b5c9ee0f3fc093cc.tar.gz |
Fixed memory leaks
Diffstat (limited to 'ext/ereg')
-rw-r--r-- | ext/ereg/ereg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/ereg/ereg.c b/ext/ereg/ereg.c index 1547d96790..a6496502f8 100644 --- a/ext/ereg/ereg.c +++ b/ext/ereg/ereg.c @@ -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 |