Hello.

When I use QWidget's setWindowIcon, it causes memory leak.
I'm using the function below, with the header, crtdbg.h, to detect memory leak.
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);

According to this page, this issue is fixed, but memory leak seems to happen.

The OS is WindowsXP, and I'm using Qt4.6 rebuilt with VC compiler.

Is there any solution, or can I just use this function safely even though the memory leak is reported by the function?
Thanks in advance.