mirror of
https://github.com/php/php-src.git
synced 2026-04-22 07:28:09 +02:00
Fixed memory leak
This commit is contained in:
@@ -1534,7 +1534,8 @@ PHP_FUNCTION(stream_resolve_include_path)
|
||||
|
||||
if (resolved_path) {
|
||||
//??? RETURN_STRING(resolved_path, 0);
|
||||
RETURN_STRING(resolved_path);
|
||||
RETVAL_STRING(resolved_path);
|
||||
efree(resolved_path);
|
||||
}
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user