Remove valgrind warning