From a8b3de7016dddb1032988ee801eb621a311b0a0f Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 10 Jul 2019 12:06:13 +0200 Subject: Fix double free in roster_process_pending_presence This is taken care of now in the destructor _pendingPresence_free(). --- src/xmpp/roster_list.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/xmpp/roster_list.c b/src/xmpp/roster_list.c index 920691d6..88c3ec0f 100644 --- a/src/xmpp/roster_list.c +++ b/src/xmpp/roster_list.c @@ -706,7 +706,6 @@ roster_process_pending_presence(void) for (iter = roster_pending_presence; iter != NULL; iter = iter->next) { ProfPendingPresence *presence = iter->data; roster_update_presence(presence->barejid, presence->resource, presence->last_activity); - free(presence->barejid); /* seems like resource isn't free on the calling side */ if (presence->last_activity) { g_date_time_unref(presence->last_activity); -- cgit 1.4.1-2-gfad0