From 3a9cb0220ce35e82065e92c4477b81373ab3e234 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Fri, 9 Jul 1999 17:36:12 +0000 Subject: Step 1 in nuking the garbage collector: - Change the hash destructor to return int --- ext/pcre/php_pcre.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/pcre/php_pcre.c') 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; } -- cgit v1.2.1