Safer zeroing of memory