mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +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:
@@ -318,6 +318,13 @@ class Transaction {
|
||||
*/
|
||||
transaction::Collections m_collections;
|
||||
|
||||
/**
|
||||
* Holds the whatever matched in the operation utilization.
|
||||
* That variable will be further used by the capture action.
|
||||
*
|
||||
*/
|
||||
std::list<std::string> m_matched;
|
||||
|
||||
private:
|
||||
std::string *m_ARGScombinedSizeStr;
|
||||
std::string *m_namesArgs;
|
||||
|
Reference in New Issue
Block a user