- Timestamp:
- 2018-07-12T08:54:12Z (6 years ago)
- Branches:
- master
- Children:
- c82e4ca
- Parents:
- b9d1fdc
- git-author:
- dequis <dx@…> (03-07-18 06:17:17)
- git-committer:
- dequis <dx@…> (12-07-18 08:54:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
rb9d1fdc r5c90890 242 242 { 243 243 GSList *l; 244 GHashTableIter iter; 245 gpointer itervalue; 244 246 245 247 irc->status |= USTATUS_SHUTDOWN; … … 271 273 bee_free(irc->b); 272 274 273 while (irc->users) { 274 irc_user_free(irc, (irc_user_t *) irc->users->data); 275 g_hash_table_iter_init(&iter, irc->nick_user_hash); 276 277 while (g_hash_table_iter_next(&iter, NULL, &itervalue)) { 278 g_hash_table_iter_remove(&iter); 279 irc_user_free(irc, (irc_user_t *) itervalue); 275 280 } 276 281 … … 292 297 irc->fd = -1; 293 298 294 g_hash_table_foreach_remove(irc->nick_user_hash, irc_free_hashkey, NULL);295 299 g_hash_table_destroy(irc->nick_user_hash); 296 300
Note: See TracChangeset
for help on using the changeset viewer.