merge/upstream-full #105

Manually merged
jabber.developer merged 407 commits from merge/upstream-full into master 2026-05-26 17:54:34 +00:00
233 changed files with 6722 additions and 27705 deletions
Showing only changes of commit d29fcdbed3 - Show all commits

View File

@@ -66,7 +66,7 @@ p_contact_new(const char* const barejid, const char* const name,
GSList* groups, const char* const subscription,
const char* const offline_message, gboolean pending_out)
{
PContact contact = malloc(sizeof(struct p_contact_t));
PContact contact = g_new0(struct p_contact_t, 1);
contact->barejid = strdup(barejid);
contact->barejid_collate_key = g_utf8_collate_key(contact->barejid, -1);