Fix memory leaks from ircd_crypt and epoll support.
[ircu2.10.12-pk.git] / ChangeLog
index 4c477827d43cef10a1600e4a00ea7c48bd9e8efe..1e0431976f7708218d7f56dcc96a9ceeaff1dee8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2004-11-07  Michael Poole <mdpoole@troilus.org>
+
+       * include/ircd_crypt.h (ircd_crypt): This should return char*, not
+       const char*, since it does not own the returned pointer.
+
+       * ircd/ircd_crypt.c (ircd_crypt): Change return type.
+
+       * ircd/ircd_crypt_smd5.c (irc_crypt_smd5): Make passwd a static
+       field since it is returned but this function must own the buffer.
+
+       * ircd/m_oper.c (oper_password_match): Free the string returned by
+       ircd_crypt().
+
+       * ircd/engine_epoll.c (engine_loop): Fix a memory leak.
+
 2004-11-07  Michael Poole <mdpoole@troilus.org>
 
        * acinclude.m4: Look for a 64-bit integer type.