void setup()
{
+ // FIXIT-L cpputest hangs or crashes in the leak detector
+ MemoryLeakWarningPlugin::turnOffNewDeleteOverloads();
opt = get_option(" foo ");
regex_setup(snort_conf);
}
api->dtor(opt);
regex_cleanup(snort_conf);
api->pterm(snort_conf);
+ MemoryLeakWarningPlugin::turnOnNewDeleteOverloads();
}
};
void setup()
{
+ // FIXIT-L cpputest hangs or crashes in the leak detector
+ MemoryLeakWarningPlugin::turnOffNewDeleteOverloads();
opt = get_option("\\bfoo", true);
regex_setup(snort_conf);
}
IpsApi* api = (IpsApi*)ips_regex;
api->dtor(opt);
regex_cleanup(snort_conf);
+ MemoryLeakWarningPlugin::turnOnNewDeleteOverloads();
}
};
void setup()
{
+ // FIXIT-L cpputest hangs or crashes in the leak detector
+ MemoryLeakWarningPlugin::turnOffNewDeleteOverloads();
CHECK(se_hyperscan);
hs = mpse_api->ctor(snort_conf, nullptr, false, &s_agent);
CHECK(hs);
{
mpse_api->dtor(hs);
hyperscan_cleanup(snort_conf);
+ MemoryLeakWarningPlugin::turnOnNewDeleteOverloads();
}
};
void setup()
{
+ // FIXIT-L cpputest hangs or crashes in the leak detector
+ MemoryLeakWarningPlugin::turnOffNewDeleteOverloads();
CHECK(se_hyperscan);
hs1 = mpse_api->ctor(snort_conf, nullptr, false, &s_agent);
mpse_api->dtor(hs1);
mpse_api->dtor(hs2);
hyperscan_cleanup(snort_conf);
+ MemoryLeakWarningPlugin::turnOnNewDeleteOverloads();
}
};