[evolution-patches] crash fix
- From: Radek Doulík <rodo ximian com>
- To: Patches <evolution-patches ximian com>
- Cc: Larry Ewing <lewing ximian com>
- Subject: [evolution-patches] crash fix
- Date: 27 Jun 2003 16:55:01 +0200
attached patch fixes a bug introduced by latest leak fixes.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.1814
diff -u -p -r1.1814 ChangeLog
--- ChangeLog 26 Jun 2003 15:57:09 -0000 1.1814
+++ ChangeLog 27 Jun 2003 14:42:26 -0000
@@ -1,3 +1,7 @@
+2003-06-27 Radek Doulik <rodo ximian com>
+
+ * gtkhtml.c (gtk_html_editor_event): initialize retval to NULL
+
2003-06-26 Radek Doulik <rodo ximian com>
* gtkhtml.c (button_press_event): fix coordinates
Index: gtkhtml.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/gtkhtml.c,v
retrieving revision 1.520
diff -u -p -r1.520 gtkhtml.c
--- gtkhtml.c 26 Jun 2003 15:57:10 -0000 1.520
+++ gtkhtml.c 27 Jun 2003 14:42:28 -0000
@@ -4833,7 +4833,7 @@ gtk_html_editor_event_command (GtkHTML *
void
gtk_html_editor_event (GtkHTML *html, GtkHTMLEditorEventType event, GValue *args)
{
- GValue *retval;
+ GValue *retval = NULL;
if (html->editor_api && !html->engine->block_events)
retval = (*html->editor_api->event) (html, event, args, html->editor_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]