--- a/libpurple/status.c Tue Oct 01 01:38:40 2019 +0000 +++ b/libpurple/status.c Tue Oct 01 01:38:06 2019 -0400 @@ -344,8 +344,8 @@ g_free(status_type->id); g_free(status_type->name); - g_list_foreach(status_type->attrs, (GFunc)purple_status_attribute_destroy, NULL); - g_list_free(status_type->attrs); + g_list_free_full(status_type->attrs, + (GDestroyNotify)purple_status_attribute_destroy); g_free(status_type); }