mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Fix memory leak on the @pm operator
Binary tree was not being cleaned right, now looking (and cleaning) the sibling nodes.
This commit is contained in:
@@ -41,6 +41,7 @@ class Pm : public Operator {
|
||||
|
||||
bool init(const std::string &file, std::string *error) override;
|
||||
void postOrderTraversal(acmp_btree_node_t *node);
|
||||
void cleanup(acmp_node_t *n);
|
||||
|
||||
protected:
|
||||
ACMP *m_p;
|
||||
|
Reference in New Issue
Block a user