set char buffer equal to null. valgrind still reports conditional jump