Need advice on potential memory leaks in this class

Printable View