Set buff to NULL in dealloc()