mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
RETURN_STRING takes the char* only now (always copied)
This commit is contained in:
@@ -4019,7 +4019,7 @@ PHP_FUNCTION(getenv)
|
||||
efree(ptr);
|
||||
RETURN_EMPTY_STRING();
|
||||
} else {
|
||||
RETURN_STRING(ptr, 0);
|
||||
RETURN_STRING(ptr);
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user