aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}
}