Common functions memory debugged with Valgrind