diff options
author | JP Rosevear <jpr@ximian.com> | 2002-06-25 21:12:59 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2002-06-25 21:12:59 +0800 |
commit | 36f8398258647da05476678fcecc295aa8365404 (patch) | |
tree | b3e21530691460fee3b6cdb51f55a0fc0b290b66 /calendar/gui/itip-utils.c | |
parent | 5ab2df3c08cfc14b0388e5042fa4221f81ac54a5 (diff) | |
download | gsoc2013-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/itip-utils.c')
-rw-r--r-- | calendar/gui/itip-utils.c | 6 |
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; |