CVS update: php3/functions

From: Date: Sun, 11 Oct 1998 13:09:15 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-1816@lists.php.net to get a copy of this message
Date: Sunday October 11, 1998 @ 9:09 Author: zeev Update of /repository/php3/functions In directory asf:/u2/tmp/cvs-serv1628/functions Modified Files: basic_functions.c Log Message: memory leak fix and redundant code removal Index: php3/functions/basic_functions.c diff -c php3/functions/basic_functions.c:1.227 php3/functions/basic_functions.c:1.228 *** php3/functions/basic_functions.c:1.227 Sun Oct 11 08:54:25 1998 --- php3/functions/basic_functions.c Sun Oct 11 09:09:14 1998 *************** *** 1677,1692 **** } - int user_shutdown_function_executor(pval *user_shutdown_function_name) - { - return 1; - } - - void php3_call_shutdown_functions(void) { if (user_shutdown_function_names) { ! _php3_hash_apply(user_shutdown_function_names, (int(*)(void *)) user_shutdown_function_executor); } } --- 1677,1687 ---- } void php3_call_shutdown_functions(void) { if (user_shutdown_function_names) { ! _php3_hash_destroy(user_shutdown_function_names); ! efree(user_shutdown_function_names); } } -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1816) next »