zeev Mon Jan 15 02:50:39 2001 EDT
Modified files:
/php4/main rfc1867.c
Log:
Use free_estring()
Index: php4/main/rfc1867.c
diff -u php4/main/rfc1867.c:1.57 php4/main/rfc1867.c:1.58
--- php4/main/rfc1867.c:1.57 Sat Jan 13 02:19:17 2001
+++ php4/main/rfc1867.c Mon Jan 15 02:50:39 2001
@@ -15,7 +15,7 @@
| Authors: Rasmus Lerdorf <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: rfc1867.c,v 1.57 2001/01/13 10:19:17 sas Exp $ */
+/* $Id: rfc1867.c,v 1.58 2001/01/15 10:50:39 zeev Exp $ */
#include <stdio.h>
#include "php.h"
@@ -83,12 +83,6 @@
}
-static void free_filename(char **filename)
-{
- efree(*filename);
-}
-
-
static int unlink_filename(char **filename)
{
V_UNLINK(*filename);
@@ -124,7 +118,7 @@
zend_hash_init(&PG(rfc1867_protected_variables), 5, NULL, NULL, 0);
ALLOC_HASHTABLE(SG(rfc1867_uploaded_files));
- zend_hash_init(SG(rfc1867_uploaded_files), 5, NULL, (dtor_func_t)
free_filename, 0);
+ zend_hash_init(SG(rfc1867_uploaded_files), 5, NULL, (dtor_func_t)
+free_estring, 0);
ALLOC_ZVAL(http_post_files);
array_init(http_post_files);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]