[svn] Fix a memory leak.

This commit is contained in:
jilles 2007-10-27 14:56:53 -07:00
parent 732a8c5344
commit fea1ad5224
3 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,12 @@
jilles 2007/09/09 19:19:23 UTC (20070909-3570)
Log:
Make /knock send to all channel members on +g (anyone may invite) channels.
Changes: Modified:
+2 -1 trunk/modules/m_knock.c (File Modified)
jilles 2007/09/09 18:59:08 UTC (20070909-3568) jilles 2007/09/09 18:59:08 UTC (20070909-3568)
Log: Log:
Make EXTBAN 005 token like unreal's (, instead of :). Make EXTBAN 005 token like unreal's (, instead of :).

View file

@ -1 +1 @@
#define SERNO "20070909-3568" #define SERNO "20070909-3570"

View file

@ -21,7 +21,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA * USA
* *
* $Id: channel.c 3432 2007-04-26 23:01:16Z jilles $ * $Id: channel.c 3574 2007-10-27 21:56:53Z jilles $
*/ */
#include "stdinc.h" #include "stdinc.h"
@ -384,6 +384,7 @@ destroy_channel(struct Channel *chptr)
free_channel_list(&chptr->banlist); free_channel_list(&chptr->banlist);
free_channel_list(&chptr->exceptlist); free_channel_list(&chptr->exceptlist);
free_channel_list(&chptr->invexlist); free_channel_list(&chptr->invexlist);
free_channel_list(&chptr->quietlist);
/* Free the topic */ /* Free the topic */
free_topic(chptr); free_topic(chptr);