summaryrefslogtreecommitdiff
path: root/ext/sockets
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2006-04-07 14:05:21 +0000
committerPierre Joye <pajoye@php.net>2006-04-07 14:05:21 +0000
commit056c98d9f0cc3a31a8aa0a83a48b8ce7c95c50e3 (patch)
treee780b491a82f2bfec747a4e5586bc1ea7d95dbdf /ext/sockets
parent7a6284cef0758e6680bb000cdfcdc9c77e707b3a (diff)
downloadphp-git-056c98d9f0cc3a31a8aa0a83a48b8ce7c95c50e3.tar.gz
- MFB: revert leak fix, something else went wrong
Diffstat (limited to 'ext/sockets')
-rw-r--r--ext/sockets/sockets.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c
index 1e0f0d11c3..7f984e5140 100644
--- a/ext/sockets/sockets.c
+++ b/ext/sockets/sockets.c
@@ -869,7 +869,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);
}