inspircd/inspircd — pull request #45 by Shawn-Smith (2012-04-12 14:45:55+00:00)
Title: [1.2] This fixes the memory leak issues in issue #38.

Link to issue: https://github.com/inspircd/inspircd/issues/38

It should be noted that I haven't had time to test this commit. It does compile but I haven't tried the commands.