aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calendar.c
diff options
context:
space:
mode:
authorEskil Heyn Olsen <eskil@src.gnome.org>1999-10-06 23:23:18 +0800
committerEskil Heyn Olsen <eskil@src.gnome.org>1999-10-06 23:23:18 +0800
commitfe4a9b93de19146309bf95f3ebaf1314069c1503 (patch)
treebf30984d9d13c663b3e1eb80d49b468b4ca182b6 /calendar/calendar.c
parentf0ba84bd71a02e1b6af050d6f3f6d2d31d08a3e5 (diff)
downloadgsoc2013-evolution-fe4a9b93de19146309bf95f3ebaf1314069c1503.tar.gz
gsoc2013-evolution-fe4a9b93de19146309bf95f3ebaf1314069c1503.tar.zst
gsoc2013-evolution-fe4a9b93de19146309bf95f3ebaf1314069c1503.zip
checks return values from gpilotd_init/connect.
* *conduit*[ch]: checks return values from gpilotd_init/connect. * calender.c (vcalendar_create_from_calendar): removed a set of cleanVObject cleanStrTbl, since the freed memory that the function returned. svn path=/trunk/; revision=1319
Diffstat (limited to 'calendar/calendar.c')
-rw-r--r--calendar/calendar.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/calendar/calendar.c b/calendar/calendar.c
index cffd2476c4..d8b56160e8 100644
--- a/calendar/calendar.c
+++ b/calendar/calendar.c
@@ -391,9 +391,6 @@ vcalendar_create_from_calendar (Calendar *cal)
addVObjectProp (vcal, obj);
}
- cleanVObject (vcal);
- cleanStrTbl ();
-
return vcal;
}
@@ -437,7 +434,7 @@ calendar_save (Calendar *cal, char *fname)
gtk_widget_show(dlg);
}
- cleanVObject (vcal);
+ cleanVObject (vcal);
cleanStrTbl ();
}