Quote Originally Posted by oop View Post
My dubt: why call an esplicitally delete all m_clients elements using qDeleteAll() if his destructor (m_clients's destructor) call itself?
The destructor of QList on a pointer type does not call delete on the pointers, so qDeleteAll() is needed if you want these objects to be deleted as well.

Quote Originally Posted by oop View Post
Commenting this line I did not seen memory leaks closing application with alive connections.
If by "closing application" you mean that it exited, then the operating system will have reclaimed all resources associated with the process.

Cheers,
_