* cleaned up fPulseRunner stuff, I have no idea why fPulseEnabled was

useful... so I removed it
* fixed memory leak with SetPulseRate(0), fPulseRunner is now
  properly freed in the Window destructor
* fTitle is now freed as well
* fix some potential leaks in BView destructor as well

I wrote a stress test app, which I'm soon going to commit as well...
it shows that not all memory leaks are fixed by this patch, I could
use some help with this...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16713 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2006-03-11 19:32:53 +00:00
parent 4316cb15fa
commit ecf9f94800
3 changed files with 20 additions and 27 deletions
+2 -2
View File
@@ -318,7 +318,7 @@ private:
BButton *fDefaultButton;
BList fShortcuts;
int32 fTopViewToken;
bool fPulseEnabled;
bool _unused2; // was fPulseEnabled
bool fViewsNeedPulse; // not yet used
bool fIsFilePanel;
bool fMaskActivated;
@@ -326,7 +326,7 @@ private:
bool fWaitingForMenu;
bool fMinimized;
bool fNoQuitShortcut;
bool _unused2;
bool _unused3;
sem_id fMenuSem;
float fMaxZoomHeight;
float fMaxZoomWidth;