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:
Felipe Zimmerle
2016-02-16 23:20:23 -03:00
parent e346454374
commit ed8b0c85d7
11 changed files with 17 additions and 37 deletions

View File

@@ -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;