summaryrefslogtreecommitdiff
path: root/src/parser/tptp/tptp.h
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-11-09 13:01:20 -0600
committerajreynol <andrew.j.reynolds@gmail.com>2016-11-09 13:01:20 -0600
commit9db0ef7df43a067a0063a3652f0acd54e982ba13 (patch)
tree9cd634c45b23d971d8cb662be00e806b7cc83daa /src/parser/tptp/tptp.h
parent55499c51c818ce1488c63e8e42841eb1293db922 (diff)
Fix tptp parser memory leaks for include.
Diffstat (limited to 'src/parser/tptp/tptp.h')
-rw-r--r--src/parser/tptp/tptp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parser/tptp/tptp.h b/src/parser/tptp/tptp.h
index 06b7fac3c..2a2a5095f 100644
--- a/src/parser/tptp/tptp.h
+++ b/src/parser/tptp/tptp.h
@@ -47,6 +47,8 @@ class Tptp : public Parser {
// The set of expression that already have a bridge
std::hash_set<Expr, ExprHashFunction> d_r_converted;
std::hash_map<std::string, Expr, StringHashFunction> d_distinct_objects;
+
+ std::vector< pANTLR3_INPUT_STREAM > d_in_created;
// TPTP directory where to find includes;
// empty if none could be determined
@@ -143,6 +145,7 @@ protected:
Tptp(ExprManager* exprManager, Input* input, bool strictMode = false, bool parseOnly = false);
public:
+ ~Tptp();
/**
* Add theory symbols to the parser state.
*
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback