Changeset b5a8ef7


Ignore:
Timestamp:
Oct 12, 2017, 1:32:39 PM (4 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
4b6ef70
Parents:
c43c171
Message:

Fix double-free in iterative resolver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/AlternativeFinder.cc

    rc43c171 rb5a8ef7  
    843843                                                OpenVarSet openVars{ result.openVars };
    844844                                                env.addActual( actual.env, openVars );
    845                                                 nextResults.emplace_back( result, actual.expr, std::move(env),
     845                                                nextResults.emplace_back( result, actual.expr->clone(), std::move(env),
    846846                                                        std::move(openVars), actual.cost );
    847847                                        }
Note: See TracChangeset for help on using the changeset viewer.