1
0
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:
Pierre Joye
2014-05-15 09:56:20 +02:00
parent 526c778e91
commit d8c6749649
+1 -1
View File
@@ -4019,7 +4019,7 @@ PHP_FUNCTION(getenv)
efree(ptr);
RETURN_EMPTY_STRING();
} else {
RETURN_STRING(ptr, 0);
RETURN_STRING(ptr);
}
}
#else