mirror of
https://github.com/labwc/labwc.git
synced 2026-03-02 01:40:24 -05:00
session: Don't close a null dir in read_environment_dir
Closes: #1615 [via git-merge-pr]
This commit is contained in:
parent
3460d5be98
commit
bfa3a32ae3
1 changed files with 2 additions and 1 deletions
|
|
@ -140,8 +140,9 @@ read_environment_dir(const char *path_prefix)
|
||||||
free(env_file_path);
|
free(env_file_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
env_dir_cleanup:
|
|
||||||
closedir(envdir);
|
closedir(envdir);
|
||||||
|
|
||||||
|
env_dir_cleanup:
|
||||||
free(path);
|
free(path);
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue