Skip to content

Commit 0dc5fdf

Browse files
liudongmiaoLiu Dongmiao
authored andcommitted
fix memory leak in rules
1 parent 3975f0f commit 0dc5fdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

headers/modsecurity/rule_with_actions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class RuleWithActions : public Rule {
4343
std::unique_ptr<std::string> fileName,
4444
int lineNumber);
4545

46-
~RuleWithActions();
46+
virtual ~RuleWithActions();
4747

4848
RuleWithActions(const RuleWithActions& r)
4949
: Rule(r),

0 commit comments

Comments
 (0)