diff options
author | Markus Fischer <mfischer@php.net> | 2001-12-23 15:56:41 +0000 |
---|---|---|
committer | Markus Fischer <mfischer@php.net> | 2001-12-23 15:56:41 +0000 |
commit | 7cf14fb1e1e9640548c32f9531a56512c3fc4993 (patch) | |
tree | be56fd5b16fc4d701b66214bfd7b72d2e65fe9b0 /ext/ereg | |
parent | 8488a5a475468562c131d861d46ba2ced7077d85 (diff) | |
download | php-git-7cf14fb1e1e9640548c32f9531a56512c3fc4993.tar.gz |
- Fix tiny leak.
Diffstat (limited to 'ext/ereg')
-rw-r--r-- | ext/ereg/ereg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ereg/ereg.c b/ext/ereg/ereg.c index 6bdf1c06e0..98b09345e2 100644 --- a/ext/ereg/ereg.c +++ b/ext/ereg/ereg.c @@ -236,10 +236,10 @@ static void php_ereg(INTERNAL_FUNCTION_PARAMETERS, int icase) add_index_bool(*array, i, 0); } } - efree(subs); efree(buf); } + efree(subs); efree(string); if (err == REG_NOMATCH) { RETVAL_FALSE; |