aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-06-25 21:12:59 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-06-25 21:12:59 +0800
commit36f8398258647da05476678fcecc295aa8365404 (patch)
treeb3e21530691460fee3b6cdb51f55a0fc0b290b66 /calendar/gui
parent5ab2df3c08cfc14b0388e5042fa4221f81ac54a5 (diff)
downloadgsoc2013-evolution-36f8398258647da05476678fcecc295aa8365404.tar
gsoc2013-evolution-36f8398258647da05476678fcecc295aa8365404.tar.gz
gsoc2013-evolution-36f8398258647da05476678fcecc295aa8365404.tar.bz2
gsoc2013-evolution-36f8398258647da05476678fcecc295aa8365404.tar.lz
gsoc2013-evolution-36f8398258647da05476678fcecc295aa8365404.tar.xz
gsoc2013-evolution-36f8398258647da05476678fcecc295aa8365404.tar.zst
gsoc2013-evolution-36f8398258647da05476678fcecc295aa8365404.zip
plug leak and actually use the minimal comp we create
2002-06-25 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (comp_compliant): plug leak and actually use the minimal comp we create svn path=/trunk/; revision=17275
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/itip-utils.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index db070c8a4f..e90ff24c13 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -741,7 +741,11 @@ comp_compliant (CalComponentItipMethod method, CalComponent *comp)
comp_sentby (clone);
break;
case CAL_COMPONENT_METHOD_REPLY:
- comp_minimal (clone, TRUE);
+ /* Need to remove almost everything in case the user
+ made some other change */
+ temp_clone = comp_minimal (clone, TRUE);
+ gtk_object_unref (GTK_OBJECT (clone));
+ clone = temp_clone;
break;
case CAL_COMPONENT_METHOD_ADD:
break;