Fix leak in the config parser.

Refs #4946
This commit is contained in:
Gunnar Beutner 2013-12-04 10:39:46 +01:00
parent 6625346922
commit c92625770c
1 changed files with 1 additions and 0 deletions

View File

@ -573,6 +573,7 @@ aexpression: T_STRING
| '~' aexpression
{
$$ = new Value(make_shared<AExpression>(AENegate, static_cast<AExpression::Ptr>(*$2)));
delete $2;
}
| aexpression '+' aexpression
{