--- 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