We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dab9bb6 commit 0dce460Copy full SHA for 0dce460
test/benchmark/benchmark.cc
@@ -73,7 +73,7 @@ int main(int argc, char *argv[]) {
73
modsecurity::ModSecurity *modsec;
74
modsecurity::RulesSet *rules;
75
modsecurity::ModSecurityIntervention it;
76
- modsecurity::intervention::reset(&it);
+ modsecurity::intervention::clean(&it);
77
modsec = new modsecurity::ModSecurity();
78
modsec->setConnectorInformation("ModSecurity-benchmark v0.0.1-alpha" \
79
" (ModSecurity benchmark utility)");
@@ -167,6 +167,8 @@ int main(int argc, char *argv[]) {
167
next_request:
168
modsecTransaction->processLogging();
169
delete modsecTransaction;
170
+ modsecurity::intervention::free(&it);
171
172
}
173
174
delete rules;
0 commit comments