dmitry          Wed Sep  7 11:34:49 2005 EDT

  Modified files:              
    /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.22&r2=1.23&ty=u
Index: php-src/ext/openssl/xp_ssl.c
diff -u php-src/ext/openssl/xp_ssl.c:1.22 php-src/ext/openssl/xp_ssl.c:1.23
--- php-src/ext/openssl/xp_ssl.c:1.22   Wed Aug  3 10:07:36 2005
+++ php-src/ext/openssl/xp_ssl.c        Wed Sep  7 11:34:49 2005
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: xp_ssl.c,v 1.22 2005/08/03 14:07:36 sniper Exp $ */
+/* $Id: xp_ssl.c,v 1.23 2005/09/07 15:34:49 dmitry Exp $ */
 
 #include "php.h"
 #include "ext/standard/file.h"
@@ -451,7 +451,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