aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-10-20 06:17:16 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-10-20 06:17:16 +0800
commit7d70bec880913d222d52395f736125f4bf026337 (patch)
tree71b77ead522a42e811132ca2d939cff8f6902c39
parenta5efc9cddddd1386c3adfa6cbaa358a7b7d6968f (diff)
downloadgsoc2013-evolution-7d70bec880913d222d52395f736125f4bf026337.tar.gz
gsoc2013-evolution-7d70bec880913d222d52395f736125f4bf026337.tar.zst
gsoc2013-evolution-7d70bec880913d222d52395f736125f4bf026337.zip
don't free the parameter
2001-10-19 JP Rosevear <jpr@ximian.com> * src/libical/icalproperty.c (icalproperty_remove_parameter): don't free the parameter svn path=/trunk/; revision=13808
-rw-r--r--libical/ChangeLog5
-rw-r--r--libical/src/libical/icalproperty.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/libical/ChangeLog b/libical/ChangeLog
index a437265985..ee3390d158 100644
--- a/libical/ChangeLog
+++ b/libical/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-19 JP Rosevear <jpr@ximian.com>
+
+ * src/libical/icalproperty.c (icalproperty_remove_parameter):
+ don't free the parameter
+
2001-10-05 Ettore Perazzoli <ettore@ximian.com>
* src/libical/Makefile.am (CLEANFILES): Assign with `=', not `+='.
diff --git a/libical/src/libical/icalproperty.c b/libical/src/libical/icalproperty.c
index c5638827e5..3720432ebb 100644
--- a/libical/src/libical/icalproperty.c
+++ b/libical/src/libical/icalproperty.c
@@ -550,7 +550,6 @@ icalproperty_remove_parameter (icalproperty* prop, icalparameter_kind kind)
icalparameter* param = (icalparameter *)pvl_data (p);
if (icalparameter_isa(param) == kind) {
pvl_remove (impl->parameters, p);
- icalparameter_free (param);
break;
}
}