aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog4
-rw-r--r--composer/listener.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 6add4558bd..a21e7126ff 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-09 Larry Ewing <lewing@ximian.com>
+
+ * listener.c (insert_paragraph_before): free the return values.
+
2003-05-21 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (composer_get_default_charset_setting): Same as
diff --git a/composer/listener.c b/composer/listener.c
index 2c79a4fa0b..15820cc794 100644
--- a/composer/listener.c
+++ b/composer/listener.c
@@ -125,6 +125,7 @@ insert_paragraph_before (EditorListener *l, CORBA_Environment * ev)
GNOME_GtkHTML_Editor_Engine_runCommand (l->composer->editor_engine, "italic-off", ev);
changed = TRUE;
}
+ CORBA_free (orig);
}
if (!changed) {
signature = GNOME_GtkHTML_Editor_Engine_getParagraphData (l->composer->editor_engine, "signature", ev);
@@ -135,6 +136,7 @@ insert_paragraph_before (EditorListener *l, CORBA_Environment * ev)
GNOME_GtkHTML_Editor_Engine_runCommand (l->composer->editor_engine, "italic-off", ev);
}
}
+ CORBA_free (signature);
}
}
}