fix NEW segfault

 You'd think I would have the presence of mind not to zero
 a pointer immediately before calling a function on it, but
 I suppose you would be wrong...