nitg-erase: put 0 in arrays of int, not NULL