projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b08e5d1
)
* free the ical struct after using it.
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 8 Nov 2007 21:35:29 +0000
(21:35 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 8 Nov 2007 21:35:29 +0000
(21:35 +0000)
citadel/modules/calendar/serv_calendar.c
patch
|
blob
|
history
diff --git
a/citadel/modules/calendar/serv_calendar.c
b/citadel/modules/calendar/serv_calendar.c
index d9505b33230654840926bf7713756e25b936335f..c97a4e82a63652092a96eaa4cb2dd23075614479 100644
(file)
--- a/
citadel/modules/calendar/serv_calendar.c
+++ b/
citadel/modules/calendar/serv_calendar.c
@@
-126,6
+126,7
@@
void ical_write_to_cal(struct ctdluser *u, icalcomponent *cal) {
encaps = ical_encapsulate_subcomponent(tmp);
ical_write_to_cal(u, encaps);
icalcomponent_free(tmp);
+ icalcomponent_free(encaps);
return;
}