mirror of
https://github.com/anope/anope.git
synced 2026-07-04 00:03:12 +02:00
BUILD : 1.7.13 (965) BUGS : 442 437 432 431 420 NOTES : Fixed a few memleaks.
git-svn-id: svn://svn.anope.org/anope/trunk@965 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@690 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
80e5f30a49
commit
a3e5ec9638
@@ -4,6 +4,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005
|
||||
02/04 A Events for channel kicks and NickServ logout. [ #00]
|
||||
01/14 F SGLines will now be removed correctly. [ #00]
|
||||
01/26 F Export buildStringList() for modules. [#425]
|
||||
02/11 F Fixed a few memleaks. [#420]
|
||||
|
||||
Provided by nenolod. <nenolod@nenolod.net> - 2005
|
||||
02/03 A Support for Charybdis IRCd. [ #00]
|
||||
|
||||
@@ -979,6 +979,7 @@ void do_sjoin(const char *source, int ac, char **av)
|
||||
alog("debug: SJOIN for nonexistent user %s on %s", s,
|
||||
av[1]);
|
||||
}
|
||||
free(s);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1838,6 +1839,7 @@ void do_mass_mode(char *modes)
|
||||
for (i = 0; i < 1024; i++) {
|
||||
for (c = chanlist[i]; c; c = c->next) {
|
||||
if (c->bouncy_modes) {
|
||||
free(myModes);
|
||||
return;
|
||||
} else {
|
||||
anope_cmd_mode(s_OperServ, c->name, "%s", modes);
|
||||
@@ -1845,6 +1847,7 @@ void do_mass_mode(char *modes)
|
||||
}
|
||||
}
|
||||
}
|
||||
free(myModes);
|
||||
}
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
@@ -1376,6 +1376,7 @@ int check_should_owner(User * user, char *chan)
|
||||
tmp = stripModePrefix(ircd->ownerset);
|
||||
anope_cmd_mode(whosends(ci), chan, "+o%s %s %s", tmp, user->nick,
|
||||
user->nick);
|
||||
free(tmp);
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -1396,6 +1397,7 @@ int check_should_protect(User * user, char *chan)
|
||||
tmp = stripModePrefix(ircd->adminset);
|
||||
anope_cmd_mode(whosends(ci), chan, "+o%s %s %s", tmp, user->nick,
|
||||
user->nick);
|
||||
free(tmp);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -84,5 +84,10 @@ int do_fantasy(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
if (target)
|
||||
free(target);
|
||||
if (reason)
|
||||
free(reason);
|
||||
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
@@ -87,5 +87,10 @@ int do_fantasy(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
if (target)
|
||||
free(target);
|
||||
if (reason)
|
||||
free(reason);
|
||||
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
@@ -826,6 +826,7 @@ int nickIsServices(char *tempnick, int bot)
|
||||
if (s) {
|
||||
*s++ = 0;
|
||||
if (stricmp(s, ServerName) != 0)
|
||||
free(nick);
|
||||
return found;
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="13"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="962"
|
||||
VERSION_BUILD="965"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.13 (965)
|
||||
# BUGS : 442 437 432 431 420
|
||||
# NOTES : Fixed a few memleaks.
|
||||
#
|
||||
# BUILD : 1.7.13 (962)
|
||||
# BUGS :
|
||||
# NOTES : Added events for channel kicks and nickserv logout
|
||||
|
||||
Reference in New Issue
Block a user