diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-17 12:49:37 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-17 12:49:37 +0800 |
commit | 541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72 (patch) | |
tree | a1eee2c2ff904bb8244e2a3645ecd4027615fde8 /calendar/pcs | |
parent | fe09695939f1d4bcf08b297cf4ade552944514ab (diff) | |
download | gsoc2013-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/pcs')
-rw-r--r-- | calendar/pcs/calobj.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/pcs/calobj.c b/calendar/pcs/calobj.c index 8272fd1560..89bfc94540 100644 --- a/calendar/pcs/calobj.c +++ b/calendar/pcs/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)){ |