Changeset 1ec454c


Ignore:
Timestamp:
2015-11-26T02:32:54Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
d088ee8
Parents:
a3019499
Message:

purple: fix a bunch of small leaks

Most of them related to channel joins, one of them related to my recent
certificate pool path fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/purple.c

    ra3019499 r1ec454c  
    133133                dir = purple_certificate_pool_mkpath(pool, NULL);
    134134                purple_build_dir(dir, 0700);
     135                g_free(dir);
    135136
    136137                dir_fixed = TRUE;
     
    359360        if (!pd) {
    360361                return;
     362        }
     363
     364        while (ic->groupchats) {
     365                imcb_chat_free(ic->groupchats->data);
    361366        }
    362367
     
    714719                        g_hash_table_replace(chat_hash, "passwd", g_strdup(password));
    715720                }
    716         }
     721
     722                g_free(pce);
     723        }
     724
     725        g_list_free(info);
    717726
    718727        serv_join_chat(purple_account_get_connection(pd->account), chat_hash);
     728
     729        g_hash_table_destroy(chat_hash);
    719730
    720731        return imcb_chat_new(ic, room);
Note: See TracChangeset for help on using the changeset viewer.