Changeset 63a520b
- Timestamp:
- 2010-03-27T03:11:02Z (15 years ago)
- Branches:
- master
- Children:
- b95932e
- Parents:
- b9e020a
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
rb9e020a r63a520b 210 210 irc_user_free( irc, iu->nick ); 211 211 } 212 213 while( irc->channels ) 214 irc_channel_free( irc->channels->data ); 212 215 213 216 if( irc->ping_source_id > 0 ) … … 592 595 irc->user->user = iu->user; 593 596 irc->user->fullname = iu->fullname; 597 g_free( iu->fullname ); 594 598 g_free( iu->nick ); 599 g_free( iu->host ); 595 600 g_free( iu ); 596 601 -
irc_channel.c
rb9e020a r63a520b 60 60 } 61 61 62 int irc_channel_free( irc_channel_t *ic ) 63 { 64 irc_t *irc = ic->irc; 65 66 if( ic->flags & IRC_CHANNEL_JOINED ) 67 irc_channel_del_user( ic, irc->user ); 68 69 irc->channels = g_slist_remove( irc->channels, ic ); 70 g_slist_free( ic->users ); 71 72 g_free( ic->name ); 73 g_free( ic->topic ); 74 g_free( ic ); 75 76 return 1; 77 } 78 62 79 int irc_channel_add_user( irc_channel_t *ic, irc_user_t *iu ) 63 80 {
Note: See TracChangeset
for help on using the changeset viewer.