[Qt-interest] show a widget without a main window
Scott Aron Bloom
Scott.Bloom at sabgroup.com
Thu Mar 5 23:12:34 CET 2009
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of Constantin Makshin
> Sent: Thursday, March 05, 2009 1:26 PM
> To: Qt-interest
> Subject: Re: [Qt-interest] show a widget without a main window
>
> 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
If nothing else... It allows you to use purify/valgrind to the most of
its ability.. and not spend all your time filtering out "oh I know its
not really a leak, it get automatically deleted later"
Scott
More information about the Qt-interest-old
mailing list