cvs: php4(PHP_4_3) /ext/informix ifx.ec

From: Date: Wed, 05 Mar 2003 13:20:39 +0000
Subject: cvs: php4(PHP_4_3) /ext/informix ifx.ec
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19383@lists.php.net to get a copy of this message
nobbie Wed Mar 5 08:20:39 2003 EDT Modified files: (Branch: PHP_4_3) /php4/ext/informix ifx.ec Log: - MFH: 1.88 Index: php4/ext/informix/ifx.ec diff -u php4/ext/informix/ifx.ec:1.69.2.13 php4/ext/informix/ifx.ec:1.69.2.14 --- php4/ext/informix/ifx.ec:1.69.2.13 Wed Mar 5 04:39:52 2003 +++ php4/ext/informix/ifx.ec Wed Mar 5 08:20:39 2003 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ifx.ec,v 1.69.2.13 2003/03/05 09:39:52 nobbie Exp $ */ +/* $Id: ifx.ec,v 1.69.2.14 2003/03/05 13:20:39 nobbie Exp $ */ /* ------------------------------------------------------------------- * if you want a function reference : "grep '^\*\*' ifx.ec" will give @@ -308,7 +308,7 @@ EXEC SQL close database; EXEC SQL DISCONNECT CURRENT; } - efree(link); + free(link); IFXG(num_persistent)--; IFXG(num_links)--; } @@ -495,7 +495,7 @@ } /* create the link */ - ifx = (char *) emalloc(sizeof(IFX)); + ifx = (char *) malloc(sizeof(IFX)); IFXG(connectionid)++; sprintf(ifx, "%s%x", SAFE_STRING(user), IFXG(connectionid)); @@ -504,7 +504,7 @@ if (ifx_check() == IFX_ERROR) { IFXG(sv_sqlcode) = SQLCODE; php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", ifx_error(ifx)); - efree(ifx); + free(ifx); efree(hashed_details); RETURN_FALSE; } @@ -513,7 +513,7 @@ new_le.type = le_plink; new_le.ptr = ifx; if (zend_hash_update(&EG(persistent_list), hashed_details, hashed_details_length + 1, (void *) &new_le, sizeof(list_entry), NULL) == FAILURE) { - efree(ifx); + free(ifx); efree(hashed_details); RETURN_FALSE; }

« previous php.cvs (#19383) next »