[Development] Qt 5.2 Beta, possible memory leak(s)

Thiago Macieira thiago.macieira at intel.com
Wed Oct 30 16:03:20 CET 2013


On quarta-feira, 30 de outubro de 2013 11:36:12, Luka Vilar wrote:
> Hi all,
> 
> using Qt 5.2 beta on Windows 7 x64, compiled with Visual Studio 2012 update
> 3 i am getting two annoying reports of memory leaks. First is from using
> ICU and not calling u_cleanup() API on module unload and the second is
> from QPrinterInfo::defaultPrinter() not cleaning up QPlatformPrinterSupport
> singleton.
> 
> I know this is not high priority issue but still i would be nice to get rid
> of this annoyances, so when using leak detection tools developers would
> only get their own leaks.

I dislike those because we're incurring overhead at shutdown to do something 
that doesn't need doing, except to keep tools happy.

Checking an environment variable's presence is almost as expensive, though.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131030/bfc6d5ac/attachment.sig>


More information about the Development mailing list