File_Utilities module

free_permanent

procedureSource

Frees a path made by copy_to_permanent: the drive, each word and the array. Do not use it on the result of parse_path, whose words are not allocated.

free_permanent :: (path: Path)

Parameters

path: Path
Example↗
path := parse_path("a/b");
permanent := copy_to_permanent(path);
array_free(path.words);
free_permanent(permanent);

See also