Fixing another memory leak.

This is the ConnVal leak that Gilbert also saw.
This commit is contained in:
Robin Sommer 2011-07-07 19:46:40 -07:00
parent d3e764155e
commit eb0580c622
5 changed files with 13 additions and 6 deletions

View file

@ -3469,6 +3469,7 @@ Val* SetConstructorExpr::Eval(Frame* f) const
{
Val* element = exprs[i]->Eval(f);
aggr->Assign(element, 0);
Unref(element);
}
return aggr;