mirror of
https://github.com/php/php-src.git
synced 2026-04-10 01:23:53 +02:00
Fix leak
This commit is contained in:
@@ -688,7 +688,7 @@ PHP_FUNCTION(socket_read)
|
||||
}
|
||||
|
||||
tmpbuf[retval] = '\0';
|
||||
RETURN_STRING(tmpbuf, 1);
|
||||
RETVAL_STRING(tmpbuf, 1);
|
||||
efree(tmpbuf);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
Reference in New Issue
Block a user