diff options
author | Zeev Suraski <zeev@php.net> | 1999-07-09 17:36:12 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-07-09 17:36:12 +0000 |
commit | 3a9cb0220ce35e82065e92c4477b81373ab3e234 (patch) | |
tree | 336f21bac2fb749e32a09891b6342afe04242075 /ext/pcre/php_pcre.c | |
parent | 81d901b14dd87285977ba7947a0268adb6519089 (diff) | |
download | php-git-3a9cb0220ce35e82065e92c4477b81373ab3e234.tar.gz |
Step 1 in nuking the garbage collector:
- Change the hash destructor to return int
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 5b838ec055..ed1245cf02 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -84,10 +84,11 @@ static void php_pcre_free(void *ptr) } -static void _php_free_pcre_cache(void *data) +static int _php_free_pcre_cache(void *data) { pcre_cache_entry *pce = (pcre_cache_entry *) data; pefree(pce->re, 1); + return 1; } |