mirror of
https://github.com/osmarks/ngircd.git
synced 2025-10-17 07:37:39 +00:00
Free topic array on channel deletion.
The topic array in the CHANNEL structure must be free()'d before the channel itself becomes deleted.
This commit is contained in:
@@ -1086,7 +1086,7 @@ Delete_Channel( CHANNEL *Chan )
|
||||
|
||||
Log( LOG_DEBUG, "Freed channel structure for \"%s\".", Chan->name );
|
||||
|
||||
/* free invite and ban lists */
|
||||
array_free(&chan->topic);
|
||||
Lists_Free(&chan->list_bans);
|
||||
Lists_Free(&chan->list_invites);
|
||||
|
||||
|
Reference in New Issue
Block a user