Fix a memory leak in forum_user_handler

I don't have the setup to actually test this, but I suspect it will fix (part of) [bug #21267](https://gna.org/bugs/?21267).