patches/gtkhtml-01-insert-html.diff
author rohinis
Tue, 29 Nov 2011 17:32:55 +0000
branchs11express-2010-11
changeset 22234 c23e64da3e06
parent 17746 963ea5d3b876
permissions -rw-r--r--
2011-11-29 Rohini S <[email protected]> * patches/Python26-22-audio.diff: Fixes CVE-2010-1634 * specs/SUNWPython26.spec: Fixes CR 7085446

diff --git a/components/editor/gtkhtml-editor-actions.c b/components/editor/gtkhtml-editor-actions.c
index e495fca..aab7761 100644
--- a/components/editor/gtkhtml-editor-actions.c
+++ b/components/editor/gtkhtml-editor-actions.c
@@ -173,7 +173,7 @@ insert_html_file_ready_cb (GFile *file,
 	stream = gtk_html_begin (new_html);
 	gtk_html_write (html, stream, contents, length);
 	gtk_html_end (html, stream, GTK_HTML_STREAM_OK);
-	g_object_unref (stream);
+	gtk_html_stream_destroy (stream);
 
 	g_free (contents);