diff options
Diffstat (limited to 'gsystem-file-utils.c')
-rw-r--r-- | gsystem-file-utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gsystem-file-utils.c b/gsystem-file-utils.c index 41cd769..ff97e19 100644 --- a/gsystem-file-utils.c +++ b/gsystem-file-utils.c @@ -345,6 +345,7 @@ gs_file_create (GFile *file, if (fchmod (fd, mode) < 0) { + close (fd); _set_error_from_errno (error); goto out; } |