CVS update: php3

From: Date: Wed, 19 May 1999 19:10:59 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-5800@lists.php.net to get a copy of this message
Date: Wednesday May 19, 1999 @ 15:10 Author: zeev Update of /repository/php3 In directory php:/tmp/cvs-serv6845 Modified Files: control_structures_inline.h Log Message: Fix Thies's reported bug. Index: php3/control_structures_inline.h diff -u php3/control_structures_inline.h:1.197 php3/control_structures_inline.h:1.198 --- php3/control_structures_inline.h:1.197 Wed May 12 10:51:21 1999 +++ php3/control_structures_inline.h Wed May 19 15:10:58 1999 @@ -29,7 +29,7 @@ */ -/* $Id: control_structures_inline.h,v 1.197 1999/05/12 14:51:21 zeev Exp $ */ +/* $Id: control_structures_inline.h,v 1.198 1999/05/19 19:10:58 zeev Exp $ */ #ifdef THREAD_SAFE #include "tls.h" @@ -524,9 +524,13 @@ function_token->type = IS_USER_FUNCTION; function_token->value.func.addr.statics = NULL; function_token->value.func.arg_types = GLOBAL(function_state).func_arg_types; - GLOBAL(function_state).func_arg_types = NULL; _php3_hash_update(target_symbol_table, function_name->value.str.val, function_name->value.str.len+1, function_token, sizeof(pval), NULL); + } else { + if (GLOBAL(function_state).func_arg_types) { + efree(GLOBAL(function_state).func_arg_types); + } } + GLOBAL(function_state).func_arg_types = NULL; } -- 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 (#5800) next »