cleared with valgrind