CVS update: php3/functions

From: Date: Fri, 04 Dec 1998 20:44:19 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-2672@lists.php.net to get a copy of this message
Date: Friday December 4, 1998 @ 15:44 Author: ssb Update of /repository/php3/functions In directory asf:/u/temp/cvs-serv6100 Modified Files: dav.c Log Message: fix a leak, that's it for today Index: php3/functions/dav.c diff -c php3/functions/dav.c:1.2 php3/functions/dav.c:1.3 *** php3/functions/dav.c:1.2 Fri Dec 4 15:19:16 1998 --- php3/functions/dav.c Fri Dec 4 15:44:18 1998 *************** *** 27,33 **** +----------------------------------------------------------------------+ */ ! /* $Id: dav.c,v 1.2 1998/12/04 20:19:16 ssb Exp $ */ #define IS_EXT_MODULE #if COMPILE_DL --- 27,33 ---- +----------------------------------------------------------------------+ */ ! /* $Id: dav.c,v 1.3 1998/12/04 20:44:18 ssb Exp $ */ #define IS_EXT_MODULE #if COMPILE_DL *************** *** 222,228 **** { if (funcName) { pval *retval, *func; ! int i; HashTable *function_table; func = php3i_string_pval(funcName); --- 222,228 ---- { if (funcName) { pval *retval, *func; ! int i, ret; HashTable *function_table; func = php3i_string_pval(funcName); *************** *** 240,246 **** efree(argv[i]); } convert_to_long(retval); ! return retval->value.lval; } return DECLINED; } --- 240,248 ---- efree(argv[i]); } convert_to_long(retval); ! ret = retval->value.lval; ! efree(retval); ! return ret; } return DECLINED; } -- 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 (#2672) next »