pidgin/pidgincontactlist.c

changeset 42062
ab77968cc8e2
parent 42059
e6dcbf0db616
child 42065
b9dc817fbb3f
--- a/pidgin/pidgincontactlist.c	Fri Feb 17 19:37:13 2023 -0600
+++ b/pidgin/pidgincontactlist.c	Fri Feb 17 19:38:52 2023 -0600
@@ -88,6 +88,10 @@
 		return NULL;
 	}
 
+	if(!PURPLE_IS_PERSON(person)) {
+		return NULL;
+	}
+
 	info = purple_person_get_priority_contact_info(person);
 
 	/* All of the contact info in the manager are PurpleContact's so this cast

mercurial