Changeset 6e991a9 for protocols/purple
- Timestamp:
- 2016-10-16T06:51:53Z (8 years ago)
- Branches:
- master
- Children:
- 2906268
- Parents:
- a08b2db
- git-author:
- dequis <dx@…> (16-10-16 06:50:49)
- git-committer:
- dequis <dx@…> (16-10-16 06:51:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/purple/purple.c
ra08b2db r6e991a9 361 361 } 362 362 363 static void purple_chatlist_free(struct im_connection *ic)364 {365 bee_chat_info_t *ci;366 GSList *l = ic->chatlist;367 368 while (l) {369 ci = l->data;370 l = g_slist_delete_link(l, l);371 372 g_free(ci->title);373 g_free(ci->topic);374 g_free(ci);375 }376 }377 378 363 static void purple_logout(struct im_connection *ic) 379 364 { … … 391 376 purple_connections = g_slist_remove(purple_connections, ic); 392 377 purple_accounts_remove(pd->account); 393 purple_chatlist_free(ic);378 imcb_chat_list_free(ic); 394 379 g_hash_table_destroy(pd->input_requests); 395 380 g_free(pd); … … 1402 1387 1403 1388 ic = purple_ic_by_pa(list->account); 1404 purple_chatlist_free(ic);1389 imcb_chat_list_free(ic); 1405 1390 1406 1391 ic->chatlist = g_slist_reverse(rld->chats);
Note: See TracChangeset
for help on using the changeset viewer.