aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calobj.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-04-17 12:49:37 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-17 12:49:37 +0800
commit541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72 (patch)
treea1eee2c2ff904bb8244e2a3645ecd4027615fde8 /calendar/calobj.c
parentfe09695939f1d4bcf08b297cf4ade552944514ab (diff)
downloadgsoc2013-evolution-541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72.tar
gsoc2013-evolution-541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72.tar.gz
gsoc2013-evolution-541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72.tar.bz2
gsoc2013-evolution-541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72.tar.lz
gsoc2013-evolution-541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72.tar.xz
gsoc2013-evolution-541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72.tar.zst
gsoc2013-evolution-541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72.zip
New event generation api in place -miguel
svn path=/trunk/; revision=146
Diffstat (limited to 'calendar/calobj.c')
-rw-r--r--calendar/calobj.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/calobj.c b/calendar/calobj.c
index 8272fd1560..89bfc94540 100644
--- a/calendar/calobj.c
+++ b/calendar/calobj.c
@@ -408,8 +408,10 @@ ical_object_create_from_vobject (VObject *o, const char *object_name)
ical->type = ICAL_EVENT;
else if (strcmp (object_name, VCTodoProp) == 0)
ical->type = ICAL_TODO;
- else
+ else {
+ g_free (ical);
return 0;
+ }
/* uid */
if (has (o, VCUniqueStringProp)){