The entire memory management within an Embedded Wizard UI application is controlled by a Garbage Collector. It ensures that memory is released when it is not used any more. This means: You never need to worry about it!
As soon as there are no more references to an object, it is unreachable and can be freed by the Garbage Collector.
The big advantage: You cannot access any object which is already freed and you cannot free an object twice...