summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes3
-rw-r--r--src/core/cs_akick.c2
-rw-r--r--version.log6
3 files changed, 9 insertions, 2 deletions
diff --git a/Changes b/Changes
index 4f0e80e41..cb6b33171 100644
--- a/Changes
+++ b/Changes
@@ -37,6 +37,9 @@ Anope Version S V N
02/11 F Fixed memory leak in cs_akick(). [#870]
02/11 F Added missed debug message when HostServ is disabled. [#863]
+Provided by Trystan <trystan@nomadirc.net> - 2008
+02/11 F Last part of memory leak in cs_akick() [#870]
+
Provided by Johno Crawford <johno.crawford@gmail.com> - 2008
02/08 F x86_64 generating improper SHA1 hash values. [#856]
diff --git a/src/core/cs_akick.c b/src/core/cs_akick.c
index 92366bc29..f3b99431d 100644
--- a/src/core/cs_akick.c
+++ b/src/core/cs_akick.c
@@ -274,7 +274,7 @@ int do_akick(User * u)
akick->flags |= AK_ISNICK;
akick->u.nc = nc;
} else {
- akick->u.mask = mask;
+ akick->u.mask = sstrdup(mask);
}
akick->creator = sstrdup(u->nick);
akick->addtime = time(NULL);
diff --git a/version.log b/version.log
index 4895e3c72..a5744a825 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="21"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1383"
+VERSION_BUILD="1384"
# $Log$
#
+# BUILD : 1.7.21 (1384)
+# BUGS : 870
+# NOTES : Fixed segfault introduced y me trying to fix 870.
+#
# BUILD : 1.7.21 (1383)
# BUGS : 863
# NOTES : Added missed debug message when HostServ is disabled.