mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: re-add the leak in os.join_path (the os.join_path(x, ...arr)
case should be handled by V). Add a memleak free os.join_path_single version.
This commit is contained in:
@ -41,8 +41,8 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
tfolder = os.join_path(os.temp_dir(), 'os_file_test')
|
||||
tfile = os.join_path(tfolder, 'test_file')
|
||||
tfolder = os.join_path_single(os.temp_dir(), 'os_file_test')
|
||||
tfile = os.join_path_single(tfolder, 'test_file')
|
||||
)
|
||||
|
||||
fn testsuite_begin() ? {
|
||||
|
Reference in New Issue
Block a user