diff src/gtkimhtml.c @ 7384:dc573236dc8b

[gaim-migrate @ 7979] SimGuy seems to think this could be a problem committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 30 Oct 2003 21:19:27 +0000
parents 2ec21bff351b
children 414c701ef1ff
line wrap: on
line diff
--- a/src/gtkimhtml.c	Thu Oct 30 19:21:14 2003 +0000
+++ b/src/gtkimhtml.c	Thu Oct 30 21:19:27 2003 +0000
@@ -114,7 +114,7 @@
 		GtkSmileyTree *t = list->data;
 		gint i;
 		list = g_slist_remove(list, t);
-		if (t->values) {
+		if (t && t->values) {
 			for (i = 0; i < t->values->len; i++)
 				list = g_slist_append (list, t->children [i]);
 			g_string_free (t->values, TRUE);