mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Cosmetic changes: applies changes suggested by static analysis
This commit is contained in:
@@ -55,6 +55,7 @@ int main(int argc, char **argv) {
|
||||
if (modsecRules->loadFromUri(x.c_str()) < 0) {
|
||||
std::cout << "Not able to load the rules" << std::endl;
|
||||
std::cout << modsecRules->getParserError() << std::endl;
|
||||
delete modsecRules;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@@ -145,7 +146,7 @@ int main(int argc, char **argv) {
|
||||
std::cout << std::endl;
|
||||
std::cout << std::endl;
|
||||
|
||||
|
||||
delete modsecRules;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user