diff options
author | Jules Colding <jcolding@src.gnome.org> | 2007-05-11 19:55:57 +0800 |
---|---|---|
committer | Jules Colding <jcolding@src.gnome.org> | 2007-05-11 19:55:57 +0800 |
commit | c4d980042effc629e4caa36abe551874e5ef8226 (patch) | |
tree | 5f4baf19704f7e93eecdf23538d29f230f58b04d /mail/mail-config.c | |
parent | 9d237347078b5df54cbdc30d988a4b5253105cc1 (diff) | |
download | gsoc2013-evolution-c4d980042effc629e4caa36abe551874e5ef8226.tar.gz gsoc2013-evolution-c4d980042effc629e4caa36abe551874e5ef8226.tar.zst gsoc2013-evolution-c4d980042effc629e4caa36abe551874e5ef8226.zip |
Fix file descriptor leaks (#437664)
svn path=/trunk/; revision=33512
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r-- | mail/mail-config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c index 60625d649f..a79b247196 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -1101,6 +1101,8 @@ mail_config_signature_run_script (const char *script) g_warning ("Could not execute %s: %s\n", script, g_strerror (errno)); _exit (255); } else if (pid < 0) { + close (in_fds [0]); + close (in_fds [1]); g_warning ("Failed to create create child process '%s': %s", script, g_strerror (errno)); return NULL; } else { |