diff options
author | Damon Chaplin <damon@ximian.com> | 2001-09-11 07:07:51 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-09-11 07:07:51 +0800 |
commit | e0beab13257c680c2772e842c82cf328f2ce4422 (patch) | |
tree | 217f79b4ad1f16a35135a4d9a9bce8dec5e58c92 /libical/ChangeLog | |
parent | 7eca7e459091e7f4fcea9223dff71fd179305cb5 (diff) | |
download | gsoc2013-evolution-e0beab13257c680c2772e842c82cf328f2ce4422.tar gsoc2013-evolution-e0beab13257c680c2772e842c82cf328f2ce4422.tar.gz gsoc2013-evolution-e0beab13257c680c2772e842c82cf328f2ce4422.tar.bz2 gsoc2013-evolution-e0beab13257c680c2772e842c82cf328f2ce4422.tar.lz gsoc2013-evolution-e0beab13257c680c2772e842c82cf328f2ce4422.tar.xz gsoc2013-evolution-e0beab13257c680c2772e842c82cf328f2ce4422.tar.zst gsoc2013-evolution-e0beab13257c680c2772e842c82cf328f2ce4422.zip |
strdup the result of the first call to ical_component_as_ical_string()
2001-09-10 Damon Chaplin <damon@ximian.com>
* src/libical/icalcomponent.c (icalcomponent_compare_vtimezones):
strdup the result of the first call to ical_component_as_ical_string()
since the second call may free it.
Also, don't free the results of ical_component_as_ical_string() since
it is a tmp buffer which is freed elsewhere.
svn path=/trunk/; revision=12750
Diffstat (limited to 'libical/ChangeLog')
-rw-r--r-- | libical/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libical/ChangeLog b/libical/ChangeLog index 984e40cfc7..ba2c98c222 100644 --- a/libical/ChangeLog +++ b/libical/ChangeLog @@ -1,3 +1,11 @@ +2001-09-10 Damon Chaplin <damon@ximian.com> + + * src/libical/icalcomponent.c (icalcomponent_compare_vtimezones): + strdup the result of the first call to ical_component_as_ical_string() + since the second call may free it. + Also, don't free the results of ical_component_as_ical_string() since + it is a tmp buffer which is freed elsewhere. + 2001-09-10 Federico Mena Quintero <federico@ximian.com> Replace struct icalattachtype by an opaque icalattach that is |