diff options
| author | Uwe Steinmann <steinm@php.net> | 2000-07-05 19:48:24 +0000 | 
|---|---|---|
| committer | Uwe Steinmann <steinm@php.net> | 2000-07-05 19:48:24 +0000 | 
| commit | 46a9e6c23f202922416c2ed775f552f1ef33b5a0 (patch) | |
| tree | 7e05c52c167e8c81c4c84b64317e9c88fea98b2c /ext/mysql/php_mysql.c | |
| parent | f6347145ffd29d3bd5bb6af29674afc7c34398c3 (diff) | |
| download | php-git-46a9e6c23f202922416c2ed775f552f1ef33b5a0.tar.gz | |
- Discoverd possible bug. Could somebody have a look.
Diffstat (limited to 'ext/mysql/php_mysql.c')
| -rw-r--r-- | ext/mysql/php_mysql.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 2eb11df834..3a3747bee8 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -598,7 +598,9 @@ PHP_FUNCTION(mysql_close)  	}  	ZEND_FETCH_RESOURCE2(mysql, MYSQL *, mysql_link, id, "MySQL-Link", le_link, le_plink); -	 + +	/* XXX shouldn't this be zend_list_delete((*mysql_link)->value.lval) +	 * if the optional parameter is present? (steinm@php.net) */  	zend_list_delete(id);  	RETURN_TRUE;  }  | 
