summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fd9266d)
The topic array in the CHANNEL structure must be free()'d before the
channel itself becomes deleted.
Log( LOG_DEBUG, "Freed channel structure for \"%s\".", Chan->name );
Log( LOG_DEBUG, "Freed channel structure for \"%s\".", Chan->name );
- /* free invite and ban lists */
- Lists_Free( &chan->list_bans );
- Lists_Free( &chan->list_invites );
+ array_free(&chan->topic);
+ Lists_Free(&chan->list_bans);
+ Lists_Free(&chan->list_invites);
/* maintain channel list */
if( last_chan ) last_chan->next = chan->next;
/* maintain channel list */
if( last_chan ) last_chan->next = chan->next;