if you have pointer to dynamicaly allocated memory in your struct it's better to use delete in destructor