Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix memory leak in rules
  • Loading branch information
liudongmiao authored and Liu Dongmiao committed Sep 16, 2022
commit d7c77a73f55fad1a7d856d9e2f92f71b1f14e61d
2 changes: 2 additions & 0 deletions headers/modsecurity/rule.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ class Rule {
return *this;
}

virtual ~Rule() {}

virtual bool evaluate(Transaction *transaction) = 0;

virtual bool evaluate(Transaction *transaction,
Expand Down