summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-03-01 17:56:46 +0000
committercertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-03-01 17:56:46 +0000
commit587bf2e4ce5d8ec803ca93bfecbcec02c12b65a2 (patch)
tree4e07dc75e77fb524c19d76a75d01d6c33d0eeb72
parentb613503e7eb3dcf586c1be1b711c9847b3db2106 (diff)
# BUILD : 1.7.13 (989)
# BUGS : 444 # NOTES : Fixed memleak in os_mode.c git-svn-id: svn://svn.anope.org/anope/trunk@990 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@715 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes3
-rw-r--r--src/core/os_mode.c1
-rw-r--r--version.log6
3 files changed, 8 insertions, 2 deletions
diff --git a/Changes b/Changes
index e85f83033..544a2b83b 100644
--- a/Changes
+++ b/Changes
@@ -16,13 +16,14 @@ Provided by Anope Dev. <dev@anope.org> - 2006
03/01 F Fixed suspend check on /cs invite. [#429]
03/01 F Fixed memleaks in some protocol files. [#434]
03/01 F Fixed bot check on /bs unassign. [#446]
-03/01 F Fixed wasteful finduser() call in os_oline.c [#457]
+03/01 F Fixed wasteful finduser() call in os_oline.c. [#457]
03/01 F Fixed memleak in runDefCon(). [#451]
03/01 F Fixed function type of get_xop_level. [#459]
03/01 F Prevented registration of UnrealIRCd's "local" channels. [#456]
03/01 F Fixed bug in moduleNoticeLang(). [#421]
03/01 F Made should_mode_change() extern. [#436]
03/01 F Made add_ns_timeout() static. [#438]
+03/01 F Fixed memleak in os_mode.c. [#444]
Provided by nenolod. <nenolod@nenolod.net> - 2006
02/03 A Support for Charybdis IRCd. [ #00]
diff --git a/src/core/os_mode.c b/src/core/os_mode.c
index b926d16a4..ed651b4a2 100644
--- a/src/core/os_mode.c
+++ b/src/core/os_mode.c
@@ -92,6 +92,7 @@ int do_os_mode(User * u)
ac = split_buf(modes, &av, 1);
chan_set_modes(s_OperServ, c, ac, av, -1);
+ free(av);
if (WallOSMode)
anope_cmd_global(s_OperServ, "%s used MODE %s on %s", u->nick,
diff --git a/version.log b/version.log
index 355af3f03..5de39a5c7 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="13"
VERSION_EXTRA="-svn"
-VERSION_BUILD="988"
+VERSION_BUILD="989"
# $Log$
#
+# BUILD : 1.7.13 (989)
+# BUGS : 444
+# NOTES : Fixed memleak in os_mode.c
+#
# BUILD : 1.7.13 (988)
# BUGS : 421 436 438
# NOTES : Hooray, it's still bug-fixing-day!