Fix memory corruption bug

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-09-22 18:53:58 -07:00
parent 16a6a54df1
commit 1647e44510

View file

@ -61,7 +61,7 @@ expr metavar_env::get_subst(unsigned midx) const {
}
expr metavar_env::get_type(unsigned midx, unification_problems & up) {
data const & d = m_env[midx];
data d = m_env[midx];
expr t = d.m_type;
if (t) {
return t;