aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gnome-cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gnome-cal.c')
-rw-r--r--calendar/gnome-cal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gnome-cal.c b/calendar/gnome-cal.c
index 9f34a6277a..2a2635f178 100644
--- a/calendar/gnome-cal.c
+++ b/calendar/gnome-cal.c
@@ -334,7 +334,8 @@ mail_notify (char *mail_address, char *text, time_t app_time)
"Subject: ", _("Reminder of your appointment at "),
ctime (&app_time), "\n\n", text, "\n", NULL);
write (p [1], command, strlen (command));
-
+ close (p [1]);
+ close (p [0]);
g_free (command);
}