Valgrind reports a memory leak in MessageOfTheDay::finalization because a regular expression is being compiled multiple times, but freed only once. The attached patch fixes this problem.
Frees memory associated with regex_t
This valgrind report shows regcomp() leaks at the end.
Assigning to dtremenak, since 'svn blame' shows that you have done the regex stuff in the MessageOfTheDay class.
Accepted as SVN r22480.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.