changeset 23032:25233b528b66

applied changes from a341780d901f6351a5cf768a08d30c8882d6cf2f through 677a3855450efcb2a3b51c843ced2d166c018159
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 19 Jun 2008 03:14:34 +0000
parents bf7ce9629402
children 6b2f8b7b6720
files pidgin/gtkimhtml.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c	Thu Jun 19 03:14:03 2008 +0000
+++ b/pidgin/gtkimhtml.c	Thu Jun 19 03:14:34 2008 +0000
@@ -461,6 +461,7 @@
 			tmp);
 		g_free(tmp);
 
+		g_object_unref(layout);
 		return FALSE;
 	}
 
@@ -498,6 +499,7 @@
 	gtk_widget_show (imhtml->tip_window);
 
 	pango_font_metrics_unref(font_metrics);
+	g_object_unref(font);
 	g_object_unref(layout);
 
 	return FALSE;