Clear the whole structure instead the size of a pointer