mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-01 06:09:03 +03:00
Changes variables destructor to virtual
Avoid memory leak while destroying the Variable objects.
This commit is contained in:
committed by
Felipe Zimmerle
parent
0c37ba336b
commit
557c29fd46
@@ -64,6 +64,7 @@ class Variable {
|
||||
|
||||
explicit Variable(std::string _name);
|
||||
Variable(std::string name, VariableKind kind);
|
||||
virtual ~Variable() { }
|
||||
|
||||
static std::string to_s(std::vector<Variable *> *variables);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user