diff options
author | Rodrigo Moya <rodrigo@novell.com> | 2004-06-03 00:31:23 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-06-03 00:31:23 +0800 |
commit | 5919bc5b8bcf8d9254db4aa3379ce7693ceb26d9 (patch) | |
tree | a240866ef3612f11af2ffb1f1039372130cc78f2 /calendar/gui/e-itip-control.c | |
parent | 81a9c1e88d1c08fd59c6492686b45d53919a99b6 (diff) | |
download | gsoc2013-evolution-5919bc5b8bcf8d9254db4aa3379ce7693ceb26d9.tar.gz gsoc2013-evolution-5919bc5b8bcf8d9254db4aa3379ce7693ceb26d9.tar.zst gsoc2013-evolution-5919bc5b8bcf8d9254db4aa3379ce7693ceb26d9.zip |
fixed leak and pass the correct icalcomponent to e_cal_modify_object.
2004-06-02 Rodrigo Moya <rodrigo@novell.com>
* gui/dialogs/copy-source-dialog.c (copy_source): fixed
leak and pass the correct icalcomponent to e_cal_modify_object.
svn path=/trunk/; revision=26154
Diffstat (limited to 'calendar/gui/e-itip-control.c')
-rw-r--r-- | calendar/gui/e-itip-control.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 5027e3953c..ad0503001a 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -183,7 +183,7 @@ find_server (EItipControl *itip, ECalComponent *comp) GSList *sources, *m; group = l->data; - + sources = e_source_group_peek_sources (group); for (m = sources; m; m = m->next) { ESource *source; @@ -384,8 +384,7 @@ find_my_address (EItipControl *itip, icalcomponent *ical_comp) for (prop = icalcomponent_get_first_property (ical_comp, ICAL_ATTENDEE_PROPERTY); prop != NULL; - prop = icalcomponent_get_next_property (ical_comp, ICAL_ATTENDEE_PROPERTY)) - { + prop = icalcomponent_get_next_property (ical_comp, ICAL_ATTENDEE_PROPERTY)) { icalvalue *value; icalparameter *param; const char *attendee, *name; |