Fixed Button leak in GlobalSettingsDialog
authorJerome St-Louis <jerome@ecere.com>
Fri, 10 Jun 2011 08:31:50 +0000 (04:31 -0400)
committerJerome St-Louis <jerome@ecere.com>
Fri, 10 Jun 2011 08:31:50 +0000 (04:31 -0400)
ide/src/dialogs/GlobalSettingsDialog.ec

index ac027c9..c655893 100644 (file)
@@ -523,6 +523,7 @@ class CompilerDirectoriesTab : CompilersSubTab
       for(c = 0; c < DirTypes::enumSize; c++)
       {
          delete dirs[c];
+         delete dirTypeTglBtn[c];
       }
    }
    CompilerDirectoriesTab()