Fix memory leak when using variables
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2019-06-13 15:18:20 +02:00
parent 813ab1e90b
commit 9d5c6911b2
No known key found for this signature in database
GPG Key ID: B4C087AC81641654
1 changed files with 3 additions and 1 deletions

View File

@ -141,7 +141,9 @@ public:
_key = key;
}
~BoundVariableExpression() override = default;
~BoundVariableExpression() override{
delete _key;
}
BoundExpressionKind GetKind() final{
return BoundExpressionKind ::Variable;