[evolution-patches] another composer leak
- From: Larry Ewing <lewing ximian com>
- To: patches <evolution-patches ximian com>
- Subject: [evolution-patches] another composer leak
- Date: 10 Jun 2003 16:08:17 -0500
The previos code forgot to free the stucture after freeing the members.
--Larry
? e-msg-composer.c.activate.c
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/composer/ChangeLog,v
retrieving revision 1.540
diff -u -p -r1.540 ChangeLog
--- ChangeLog 10 Jun 2003 18:20:37 -0000 1.540
+++ ChangeLog 10 Jun 2003 21:04:30 -0000
@@ -1,3 +1,8 @@
+2003-06-10 Larry Ewing <lewing ximian com>
+
+ * e-msg-composer-hdrs.c (e_msg_composer_hdrs_and_string_free):
+ free the structure as well.
+
2003-06-09 Larry Ewing <lewing ximian com>
* listener.c (insert_paragraph_before): free the return values.
Index: e-msg-composer-hdrs.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer-hdrs.c,v
retrieving revision 1.112
diff -u -p -r1.112 e-msg-composer-hdrs.c
--- e-msg-composer-hdrs.c 9 Jun 2003 18:18:32 -0000 1.112
+++ e-msg-composer-hdrs.c 10 Jun 2003 21:04:31 -0000
@@ -140,6 +140,7 @@ e_msg_composer_hdrs_and_string_free (EMs
if (emchas->hdrs)
g_object_unref (emchas->hdrs);
g_free (emchas->string);
+ g_free (emchas);
}
static EMsgComposerHdrsAndString *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]