Is it memory-safe to call WndObj::Create() repeatedly without deleting the previous one?

 

I'm creating a Rectangle Label using the CHARTEVENT_MOUSE_MOVE event, for every time the event fires I invoke

obj_rect_label.Create(foo, bar, lparam, dparam);

my question is that, is this method safe in terms of memory management? or do I need to delete/destroy the previous object before recreating the new one?

the obj_rect_label is a statically declared instance of the CPanel  class.