dmitry          Wed Sep  7 11:36:04 2005 EDT

  Modified files:              (Branch: PHP_5_0)
    /php-src/ext/openssl        xp_ssl.c 
  Log:
  Fixed memory allocation bug
  
  
http://cvs.php.net/diff.php/php-src/ext/openssl/xp_ssl.c?r1=1.16.2.3&r2=1.16.2.4&ty=u
Index: php-src/ext/openssl/xp_ssl.c
diff -u php-src/ext/openssl/xp_ssl.c:1.16.2.3 
php-src/ext/openssl/xp_ssl.c:1.16.2.4
--- php-src/ext/openssl/xp_ssl.c:1.16.2.3       Mon Jan  3 22:45:40 2005
+++ php-src/ext/openssl/xp_ssl.c        Wed Sep  7 11:36:04 2005
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: xp_ssl.c,v 1.16.2.3 2005/01/04 03:45:40 iliaa Exp $ */
+/* $Id: xp_ssl.c,v 1.16.2.4 2005/09/07 15:36:04 dmitry Exp $ */
 
 #include "php.h"
 #include "ext/standard/file.h"
@@ -437,7 +437,7 @@
        if (clisock >= 0) {
                php_openssl_netstream_data_t *clisockdata;
 
-               clisockdata = pemalloc(sizeof(*clisockdata), 
stream->is_persistent);
+               clisockdata = emalloc(sizeof(*clisockdata));
 
                if (clisockdata == NULL) {
                        closesocket(clisock);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to