]> granicus.if.org Git - php/commitdiff
- revert last commit, something else went wrong
authorPierre Joye <pajoye@php.net>
Fri, 7 Apr 2006 14:04:36 +0000 (14:04 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 7 Apr 2006 14:04:36 +0000 (14:04 +0000)
ext/sockets/sockets.c

index 1a6c211ea75712b5b514b8feb6404f2339b31d07..d706674baf8ee0fd0d703e9f23202543ebed35ef 100644 (file)
@@ -871,7 +871,6 @@ PHP_FUNCTION(socket_read)
                        php_sock->error = errno;
                        SOCKETS_G(last_error) = errno;
                } else {
-                       efree(tmpbuf);
                        PHP_SOCKET_ERROR(php_sock, "unable to read from socket", errno);
                }