1
0
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:
Xinchen Hui
2014-02-26 16:33:27 +08:00
parent 4b6eb998da
commit 95320f1f46
+2 -1
View File
@@ -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;
}