From 7d70bec880913d222d52395f736125f4bf026337 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 19 Oct 2001 22:17:16 +0000 Subject: don't free the parameter 2001-10-19 JP Rosevear * src/libical/icalproperty.c (icalproperty_remove_parameter): don't free the parameter svn path=/trunk/; revision=13808 --- libical/ChangeLog | 5 +++++ libical/src/libical/icalproperty.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'libical') 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 + + * src/libical/icalproperty.c (icalproperty_remove_parameter): + don't free the parameter + 2001-10-05 Ettore Perazzoli * 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; } } -- cgit