CVS update: php3/functions
| From: | swilliam | Date: | Thu, 17 Dec 1998 13:49:12 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2822@lists.php.net to get a copy of this message | ||
Date: Thursday December 17, 1998 @ 8:49
Author: swilliam
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv17891/functions
Modified Files:
unified_odbc.c
Log Message:
Changed free (db_conn) to efree (db_conn). This is for none persistent
connections that are allocated using emalloc.
Index: php3/functions/unified_odbc.c
diff -c php3/functions/unified_odbc.c:1.94 php3/functions/unified_odbc.c:1.95
*** php3/functions/unified_odbc.c:1.94 Fri Dec 11 14:55:28 1998
--- php3/functions/unified_odbc.c Thu Dec 17 08:49:11 1998
***************
*** 29,35 ****
+----------------------------------------------------------------------+
*/
! /* $Id: unified_odbc.c,v 1.94 1998/12/11 19:55:28 swilliam Exp $ */
/* This file is based on the Adabas D extension.
* Adabas D will no longer be supported as separate module.
--- 29,35 ----
+----------------------------------------------------------------------+
*/
! /* $Id: unified_odbc.c,v 1.95 1998/12/17 13:49:11 swilliam Exp $ */
/* This file is based on the Adabas D extension.
* Adabas D will no longer be supported as separate module.
***************
*** 1868,1874 ****
sizeof(list_entry),NULL)==FAILURE) {
SQLDisconnect(db_conn->hdbc);
SQLFreeConnect(db_conn->hdbc);
! free(db_conn);
efree(hashed_details);
RETURN_FALSE;
}
--- 1868,1874 ----
sizeof(list_entry),NULL)==FAILURE) {
SQLDisconnect(db_conn->hdbc);
SQLFreeConnect(db_conn->hdbc);
! efree(db_conn);
efree(hashed_details);
RETURN_FALSE;
}
--
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