[Qt-interest] show a widget without a main window

Constantin Makshin dinosaur-rus at users.sourceforge.net
Thu Mar 5 22:26:22 CET 2009


I'd say more -- no matter what system you use, always free memory you  
used. Keeping unneeded objects in the hope they'll be deleted by the  
system is a bad idea.

On Thu, 05 Mar 2009 23:46:10 +0300, Malyushytsky, Alex <alex at wai.com>  
wrote:
>>> At that point the operating system will re-claim all memory used by  
>>> the application. So the leak only exists between closing the widget  
>>> and exiting the application, which is usually acceptable, especially  
>>> for demo apps.
>
> According to my knowledge not all operation systems re-claim memory.  
> Windows 95 for example does not.
>
> So memory leak is memory leak :P
>
> Alex

-- 
Constantin "Dinosaur" Makshin



More information about the Qt-interest-old mailing list