src/gtkimhtml.c

changeset 7384
c2ed41f62aae
parent 7371
24aea59c277c
child 7386
9cccb3792018
--- 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);

mercurial