mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Fix `capture' memory management
The capture action was implemented before the transaction concept. While partially ported to use the transaction, some of the elements were not freed correctly. Now it is fully ported to use the class Transaction.
This commit is contained in:
@@ -42,7 +42,6 @@ class Pm : public Operator {
|
||||
bool init(const std::string &file, const char **error) override;
|
||||
void postOrderTraversal(acmp_btree_node_t *node);
|
||||
|
||||
std::list<std::string> matched;
|
||||
protected:
|
||||
ACMP *m_p;
|
||||
};
|
||||
|
Reference in New Issue
Block a user