[evolution-patches] composer leaks #3
- From: Larry Ewing <lewing ximian com>
- To: patches <evolution-patches ximian com>
- Subject: [evolution-patches] composer leaks #3
- Date: 19 Jun 2003 10:11:30 -0500
This patch cleans up a couple more leaks in the composer.
--Larry
? e-msg-composer.c.activate.c
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/composer/ChangeLog,v
retrieving revision 1.543
diff -u -p -r1.543 ChangeLog
--- ChangeLog 18 Jun 2003 17:57:01 -0000 1.543
+++ ChangeLog 19 Jun 2003 14:58:22 -0000
@@ -1,3 +1,8 @@
+2003-06-19 Larry Ewing <lewing ximian com>
+
+ * listener.c (insert_paragraph_after): free the return value.
+ (impl_event): free the return value.
+
2003-06-17 Jeffrey Stedfast <fejj ximian com>
* e-msg-composer.c (best_encoding): Use e_iconv_open/close so that
Index: listener.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/listener.c,v
retrieving revision 1.30
diff -u -p -r1.30 listener.c
--- listener.c 13 Jun 2003 16:01:51 -0000 1.30
+++ listener.c 19 Jun 2003 14:58:22 -0000
@@ -155,11 +155,13 @@ insert_paragraph_after (EditorListener *
if (orig && *orig == '1')
reply_indent (l, ev);
GNOME_GtkHTML_Editor_Engine_setParagraphData (l->composer->editor_engine, "orig", "0", ev);
+ CORBA_free (orig);
}
signature = GNOME_GtkHTML_Editor_Engine_getParagraphData (l->composer->editor_engine, "signature", ev);
if (ev->_major == CORBA_NO_EXCEPTION) {
if (signature && *signature == '1')
clear_signature (l->composer->editor_engine, ev);
+ CORBA_free (signature);
}
}
}
@@ -208,6 +210,7 @@ impl_event (PortableServer_Servant _serv
GNOME_GtkHTML_Editor_Engine_runCommand (l->composer->editor_engine, "insert-paragraph", ev);
GNOME_GtkHTML_Editor_Engine_runCommand (l->composer->editor_engine, "delete-back", ev);
}
+ CORBA_free (orig);
}
}
} else if (!strcmp (name, "url_requested")) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]