mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 22:28:46 +00:00
os2: fix leak in dir_windows
This commit is contained in:
@@ -137,5 +137,6 @@ _read_directory_iterator_destroy :: proc(it: ^Read_Directory_Iterator) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
file_info_delete(it.impl.prev_fi, file_allocator())
|
file_info_delete(it.impl.prev_fi, file_allocator())
|
||||||
|
delete(it.impl.path, file_allocator())
|
||||||
win32.FindClose(it.impl.find_handle)
|
win32.FindClose(it.impl.find_handle)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user