Fix memory leak when using variables
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
813ab1e90b
commit
9d5c6911b2
|
@ -141,7 +141,9 @@ public:
|
||||||
_key = key;
|
_key = key;
|
||||||
}
|
}
|
||||||
|
|
||||||
~BoundVariableExpression() override = default;
|
~BoundVariableExpression() override{
|
||||||
|
delete _key;
|
||||||
|
}
|
||||||
|
|
||||||
BoundExpressionKind GetKind() final{
|
BoundExpressionKind GetKind() final{
|
||||||
return BoundExpressionKind ::Variable;
|
return BoundExpressionKind ::Variable;
|
||||||
|
|
Loading…
Reference in New Issue