Making behavioral - mediator valgrind clean