Gimp.path_free

function path_free(path: Array(String)): void {
    // Gjs wrapper for gimp_path_free()
}
  

This function frees the memory allocated for the list and the strings it contains.

path

A list of directories as returned by Gimp.path_parse.