Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f9f946
)
ide: Fixed leaking of DirectoriesBox in GlobalSettingsDialog
author
Jerome St-Louis
<jerome@ecere.com>
Fri, 10 Jun 2011 08:26:21 +0000
(
04:26
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Fri, 10 Jun 2011 08:26:21 +0000
(
04:26
-0400)
ide/src/dialogs/GlobalSettingsDialog.ec
patch
|
blob
|
history
diff --git
a/ide/src/dialogs/GlobalSettingsDialog.ec
b/ide/src/dialogs/GlobalSettingsDialog.ec
index
e21d91f
..
ac027c9
100644
(file)
--- a/
ide/src/dialogs/GlobalSettingsDialog.ec
+++ b/
ide/src/dialogs/GlobalSettingsDialog.ec
@@
-517,6
+517,14
@@
class CompilerDirectoriesTab : CompilersSubTab
Button dirTypeTglBtn[DirTypes];
DirectoriesBox dirs[DirTypes], currentDirs;
+ ~CompilerDirectoriesTab()
+ {
+ DirTypes c;
+ for(c = 0; c < DirTypes::enumSize; c++)
+ {
+ delete dirs[c];
+ }
+ }
CompilerDirectoriesTab()
{
DirTypes c;