diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-07-10 12:06:13 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-07-10 12:08:09 +0200 |
commit | a8b3de7016dddb1032988ee801eb621a311b0a0f (patch) | |
tree | 591f77a61b34e07690175124d4d0be1b87122bce | |
parent | 38edc1c3253a2e8100426b3100045a5326a12088 (diff) | |
download | profani-tty-a8b3de7016dddb1032988ee801eb621a311b0a0f.tar.gz |
Fix double free in roster_process_pending_presence
This is taken care of now in the destructor _pendingPresence_free().
-rw-r--r-- | src/xmpp/roster_list.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |