FITIn: fixes crash when Valgrind callback passes NULL ptr