fixed memory leak. System configuration gets created by default.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user