(Moderator)
Registriert seit: 25. Jun 2002
Ort: Hausach
7.639 Beiträge
|
Re: Memory Leak?
17. Aug 2007, 20:16
Actually the how is correct. But the where or better: when is wrong.
Every control you create dynamically, you need to free in the destructor of the owner. That is - in that case - the destructor of the Form.
|