Memory leak: Fixed unit tests that were broken by mistake by my previous commit

This commit is contained in:
Daniel Marjamäki 2012-05-30 06:43:30 +02:00
parent 27003e72b8
commit cad2e80897
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ void CheckLeakAutoVar::doubleDeallocationError(const Token *tok, const std::stri
void CheckLeakAutoVar::configurationInfo(const Token* tok, const std::string &functionName)
{
if ((!cfgalloc.empty() || !cfgdealloc.empty()) && _settings->isEnabled("style")) {
if (((!cfgalloc.empty() || !cfgdealloc.empty()) && _settings->isEnabled("style")) || _settings->experimental) {
reportError(tok,
Severity::information,
"leakconfiguration",