Return NULL for malloc of 0