aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2003-06-20 00:59:02 +0800
committerLarry Ewing <lewing@src.gnome.org>2003-06-20 00:59:02 +0800
commitb92c58489ff7e5f2a63c1e035117b77a2b1e4d38 (patch)
tree9f8332cdb0964b563aadc8c8630792a5148bd449
parent85c4aaade9aabf86419845f76b3a101e228a5474 (diff)
downloadgsoc2013-evolution-b92c58489ff7e5f2a63c1e035117b77a2b1e4d38.tar
gsoc2013-evolution-b92c58489ff7e5f2a63c1e035117b77a2b1e4d38.tar.gz
gsoc2013-evolution-b92c58489ff7e5f2a63c1e035117b77a2b1e4d38.tar.bz2
gsoc2013-evolution-b92c58489ff7e5f2a63c1e035117b77a2b1e4d38.tar.lz
gsoc2013-evolution-b92c58489ff7e5f2a63c1e035117b77a2b1e4d38.tar.xz
gsoc2013-evolution-b92c58489ff7e5f2a63c1e035117b77a2b1e4d38.tar.zst
gsoc2013-evolution-b92c58489ff7e5f2a63c1e035117b77a2b1e4d38.zip
free the return value. (impl_event): free the return value.
2003-06-19 Larry Ewing <lewing@ximian.com> * listener.c (insert_paragraph_after): free the return value. (impl_event): free the return value. svn path=/trunk/; revision=21481
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/listener.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 3a6376402e..7edd73d358 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -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
diff --git a/composer/listener.c b/composer/listener.c
index 05aae4825b..a026769d01 100644
--- a/composer/listener.c
+++ b/composer/listener.c
@@ -155,11 +155,13 @@ insert_paragraph_after (EditorListener *l, CORBA_Environment * ev)
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 _servant,
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")) {