fixed memory leak. System configuration gets created by default.

This commit is contained in:
Gasper Jansa
2011-01-31 21:17:42 +01:00
parent 0afa2a6aa7
commit 82969687f8
3 changed files with 26 additions and 10 deletions

View File

@ -67,7 +67,6 @@ int main(int argc, char *argv[])
doubleProperty = configuration->getPropertyAsDouble("dobuleProperty1", -3);
assert(doubleProperty == 42);
if(configuration) delete configuration;
if(configProvider) delete configProvider;
getShowConstructDestruct()->constuctDestructTotals(stdout);
return 0;