[evolution-patches] composer leak fix.
- From: Larry Ewing <lewing ximian com>
- To: patches <evolution-patches ximian com>
- Subject: [evolution-patches] composer leak fix.
- Date: 10 Jun 2003 12:56:45 -0500
We were leaking return values here.
--Larry
? e-msg-composer.c.activate.c
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/composer/ChangeLog,v
retrieving revision 1.539
diff -u -p -r1.539 ChangeLog
--- ChangeLog 9 Jun 2003 18:18:32 -0000 1.539
+++ ChangeLog 10 Jun 2003 17:48:44 -0000
@@ -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
Index: listener.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/listener.c,v
retrieving revision 1.28
diff -u -p -r1.28 listener.c
--- listener.c 6 Feb 2003 15:50:31 -0000 1.28
+++ listener.c 10 Jun 2003 17:48:45 -0000
@@ -125,6 +125,7 @@ insert_paragraph_before (EditorListener
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
GNOME_GtkHTML_Editor_Engine_runCommand (l->composer->editor_engine, "italic-off", ev);
}
}
+ CORBA_free (signature);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]