1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00

- tmpbuf is emalloc()'ed so this patch would be faster.

This commit is contained in:
Andi Gutmans
2001-05-28 19:38:30 +00:00
parent f808add1c0
commit 91f4eec7e9
+1 -2
View File
@@ -688,8 +688,7 @@ PHP_FUNCTION(socket_read)
}
tmpbuf[retval] = '\0';
RETVAL_STRING(tmpbuf, 1);
efree(tmpbuf);
RETURN_STRING(tmpbuf, 0);
}
/* }}} */